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)
Is it possible to view the constraints while using docplex?
I have a quadratic model which I wrote using docplex and when solving it says it is infeasible. When I checked to see if there are any conflicts it returned 0 so I assume there are none but I have no ...
Anas
Votes: 0
Answers: 1
Relative MIP gap tolerance in docplex module
I solve a multiobjective MIP with the docplex module in Python. As the problem is rather large, I would like to set a relative MIP gap tolerance: parameters.mip.tolerances.mipgap (https://www.ibm.com/...
orarne
Votes: 0
Answers: 1
Unable to find the same solution on CPLEX and MATLAB for a quadratic program
I'm trying to solve the following quadratic problem with MATLAB (using quadprog function) and CPLEX. The problem is that MATLAB and CPLEX provided feasible solutions but both solutions didn't match. I...
amhen
Votes: 0
Answers: 1
How to express exponential of a variable in docplex?
I need to define a constraint as follows:
mdl.add_constraints(p_pg[plan, segment] == np.exp(u_pg[plan, segment] for plan in range(1, p+1) for segment in range(1, g+1))
In this constraint both p_pg and...
Masoud Golalikhani
Votes: 0
Answers: 1