python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How to declare set of union? CPLEX
I am trying to build a model on CPLEX OPL and facing a problem with declaration a set of union
5 set of union I have to declare
I am totally new with CPLEX, I have use the method to declare a set same...
Quang Linh Đinh
Votes: 0
Answers: 1
CpoException: Executable file should be given in 'execfile' context attribute
the line in question that is giving me problems is the following:
msol = mdl.solve(TimeLimit=20, trace_log=False, execfile='\Applications\CPLEX_Studio_Community201\cpoptimizer\bin\x86-64_osx\cpoptimiz...
Manuel Lopez
Votes: 0
Answers: 1
How to print optimal tours of a vehicle routing problem in CPLEX?
I modeled a Vehicle Routing Problem in CPLEX and now I'd like to print the optimal tours it found using post-processing.
My decision variable looks like this:
dvar boolean x[vehicles][edges];
1, if t...
Arctic_Skill
Votes: 0
Answers: 1
How can I add multiple constraint groups to a diet model?
I struggle a bit to understand the different steps that are used in this example: diet.py, I've added the same code below. Also not an expert in modelling. As I understand it:
the first part makes tu...
Caroline Gebara
Votes: 0
Answers: 1