Questions tagged [solver]

A solver is a generic term indicating a piece of mathematical software, possibly in the form of a stand-alone computer program or as a software library, that 'solves' a mathematical problem.

A solver is a generic term indicating a piece of mathematical software, possibly in the form of a stand-alone computer program or as a software library, that 'solves' a mathematical problem. A solver takes problem descriptions in some sort of generic form and calculate their solution. In a solver, the emphasis is on creating a program or library that can easily be applied to other problems of similar type.

For more information about the topic, please visit http://en.wikipedia.org/wiki/Solver .

1397 questions
6
votes
1 answer

Modelica events and hybrid modelling

I would like to understand the general idea behind hybrid modelling (in particular state events) from a numerical point of view (although I am not a mathematician :)). Given the following Modelica model: model BouncingBall constant Real g=9.81 …
AssMero
  • 239
  • 1
  • 4
6
votes
2 answers

Python -- Optimize system of inequalities

I am working on a program in Python in which a small part involves optimizing a system of equations / inequalities. Ideally, I would have wanted to do as can be done in Modelica, write out the equations and let the solver take care of it. The…
Gerome Pistre
  • 395
  • 5
  • 14
6
votes
3 answers

Rubik's cube genetic algorithm solver?

Is it possible Rubik's cube to be efficiently solved by genetic algorithms? What kind of chromosome encoding should be used? How the crossover and mutation should be done? I am using this model of the cube: #ifndef RUBIKSCUBE_H_INCLUDED #define…
Todor Balabanov
  • 370
  • 3
  • 5
  • 17
6
votes
1 answer

Convert symbolic expressions to Python functions using SymPy

I have a rather large symbolic function that is evaluated for different values of a parameter in a loop. In each iteration, after finding the expression of the function, partial derivatives are derived. Something like this: from sympy import diff,…
AGandom
  • 295
  • 1
  • 3
  • 8
6
votes
2 answers

How to (efficiently) generate disjoint sets while usings pairs of elements only once?

What I would like to do is split a group of (n) items into groups of equal size (groups of size m, and for simplicity assume that there are no leftovers, i.e. n is divisible by m). Doing this multiple times, I would like to ensure that no pair of…
6
votes
3 answers

C# dll to solve simple equation

I am looking for a C# dll to solve simple equation. Example .. 10 = 2 + 3 + x Result should be x = 5; Is there a free DLL?
pskk
  • 285
  • 1
  • 7
  • 15
6
votes
1 answer

How to use R to solve/pick the best people for a job - with restraints?

I'm fairly new to R and I'm trying to write a script for what I used to do with Solver in Excel. In my data below, I have a list of workers with job types A-E. Each worker has a salary and a production rate. What I want R to do is find the…
6
votes
3 answers

Breaking down chain of item creation equation chain (possibly with recursion)

I have been meddling with an idea in C# to create a piece of software (for pseudo-personal usage) but ran into implementation problems. Well... maybe they are design problems I am unaware of, but I just simply can't figure out. The idea, expectation…
Whisperity
  • 2,904
  • 1
  • 15
  • 35
6
votes
5 answers

Game solving algorithm (Buttonia, lights-out variant)

I am trying to create a solvability function for a game algorithm. Basically a function that returns true or false for a given game it if is solvable or not. The game is Buttonia.com (which does not implement the algorithm as yet), a type of…
Killroy
  • 746
  • 10
  • 24
6
votes
2 answers

In search for a good Java ODE solver

I'm working on a project to create a GUI for an algorithm in MATLAB using an ODE solver (ode45). So I have to translate the MATLAB code to Java. The problem is the ode45 solver. Java does not seem to have a solver ready to use, and ODE's are not…
Sander
  • 564
  • 4
  • 16
6
votes
2 answers

QP solver for Java

I'm looking for a good easy to use Java based Quadratic Programming (QP) solver. Googling around I came across ojAlgo (http://ojalgo.org). However, I was wondering if there are any other/better alternatives.
dmcer
  • 8,016
  • 33
  • 41
6
votes
5 answers

Any good tools to solve integer programs on linux?

Are there any good tools to solve integer programs on Linux? I have a small problem that I want to compute to save time :D. It is kind of a subset sum problem. I have a list of around 20 Integer-Values and I want to compute the subset with the…
mageta
  • 597
  • 2
  • 6
  • 12
5
votes
3 answers

Sudoku GUI using java

I'm currently working on my GUI for this Sudoku solver I'm making. I've managed to print out the board with no problems. However I'd like to know how I would go about to differentiate the 3x3 regions with some kind of thicker or coloured…
kompsci
  • 142
  • 1
  • 2
  • 6
5
votes
2 answers

sudoku solver using backtracking

I've recently been working on a backtracking sudoku solving algorithm and currently I'd like to ask on how I should go about to change my solve() method from void to a boolean. I'm using a very simple backtracking algorithm, and it's currently…
kompsci
  • 142
  • 1
  • 2
  • 6
5
votes
4 answers

What is the MathNet equivalent of MATLAB solve C = A \ B

I've recently begun using MathNet to implement our linear algebra, however I'm having some trouble translation MATLAB functions to MathNet. In MATLAB I often use the simple solve using the backslash operator: C = A \ B What is the equivalent of this…
Bildsoe
  • 1,628
  • 6
  • 29
  • 41
1 2
3
93 94