python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How can I formulate these constraints for the optimization math programming (MIP)
I am struggling with some constraints that have ranged variables and several decision variables.
The constraints are
`if a[i] <= t <= a[i]+b[i], then M[t][i] == 1,
else if t < a[i] or t > ...
박상호
Votes: 0
Answers: 0
Why does Gurobi's best bound for the objective goes over the optimal objective value
I am solving an integer programming problem in Gurobi for objective minimization. I know that there is an integer solution that gives an objective of 322.48, and I verified this by also setting that s...
Aashaka
Votes: 0
Answers: 0
Reduce size of alternate solutions in optimization
We have a supplier/depot (index d) and several factories (index f) with demand known for different products (p) during T month (index t) ahead. There is a fleet of trucks (index v) with different truc...
Matt Najarian
Votes: 0
Answers: 3
How to code a constaint that contains an integral in java &cplex?
I started Java programming 2 months ago. I don't know how to code a constraint in the Java+Cplex library. This constraint contains an integral. Does Java contain an integral library already and I'll n...
Charmante
Votes: 0
Answers: 0