#
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.

DV = Z_{k1k2}^ j is either 0/1 equal to 1 if k1 and k2 are executed in sequence by j and 0 otherwise.
constr = sum_{k_1 \in K'}Z_{k1k2}^j =Y_{k_2} forall{k_2 \in K} forall{j \in J}
i ...

I am currently tryong to solve a linear problem using pulp and Gurobi. I have defined my problem through pulp and and am using Gurobi as a solver. I wish to save the MIP gap at the end of the solution ...

I have two logic output which I know are logically equivalent (proven using SAT solvers). Now I choose same bits from both signals. Can I say since the complete signals are equivalent then sub-signals ...

asked Apr 6 at 20:47

instance
1,3151010 silver badges2222 bronze badges

This line is code giving me value error:
_,batch_loss=sess.run([optimize.mean_loss],feed_dict={inputs: input_batch, targets: target_batch})

I'm trying to solve this exponential equation like this:
my ($l,$r);
for (1 .. 100) -> $x {
$l = $x * e ** $x;
$r = 5 * (e ** $x - 1);
say $x if $l == $r;
}
But it doesn't work. ...

By adding conditions to the solver, I want to check with "solver.check()", whether there exists a solution or not. Therefore, I created a simple example to find a solution for t1. I know that there is ...

I have
IntVar[] orArea = new IntVar[N];
IntVar[] orCount = new IntVar[N];
IntVar[] orRows = new IntVar[N];
IntVar total_trim = model.intVar("trim", 0, 1000);
for (int i = 0; i < N; i++) {
...

I've been trying to solve a three-stage dynamic problem in Python. The problem can be solved via backward induction, but none of the modules I've found (eg Sympy's solveset) allows me to plug in the ...

I am working with a curve with two parameters (α,β), in addition to the independent (x between 0 and 1) and dependent (y) variables. I have a function which takes a value for the independent variable ...

enter image description here
I want to find t11, t12 and l for each row by using solver.
My set objective value is "maximize utility" in each row and changing variable are t11, t12 and l and ...

I'm trying to find a top 10 optimal solutions for my model. When using Excels Evolutionary Solver I can find one optimal solution. However, I can't find a way to keep track of what solutions have been ...

I have below data frame that show sales (in unit) for 4 products for Q1. Each product has a maximum growth rate for Q2 and cost per hundred extra units.
Given a budget of 40000, what is the optimal ...

In a certain Week, specific Units (W, U, and S) are available to visit on specific dates. Unit W is available for the whole working week (Monday - Friday), Unit U is only available on Monday and ...

This is my code, and after one iteration the return from sym.solve is an empty list even when a real solution exist. Why is this happen? What I did wrong?
from scipy import *
import matplotlib.pyplot ...

This is my first posted question so I apologize for any formatting errors and would be happy to fix them. I have this sudoku solver assignment for my CS class and I'm getting the "Segmentation fault (...