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)
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 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
Translation of a mathematical summation into code
I'm playing with docplex on Python and I'm facing some difficulties.
I wanto to code the Mathematical expressions
attached in the image as constraints, but it is quite hard for me. I know that t and T...
Fab
Votes: 0
Answers: 1
How can obtain the range of all solutions with CPLEX optimizer?
I am working on defining a diet model, to extract all possible solutions of diets with both environmental and nutritional constraints. I have used the same setup as in this docplex-example at GitHub t...
Caroline Gebara
Votes: 0
Answers: 1