Questions tagged [doopl]

4 questions
1
vote
1 answer

Performance for recurring doopl calls

I'm using doopl.factory to solve multiple linear programs in a loop. I noticed a decreasing performance while looping through instances. Using memory_profiler shows that the memory increases after each call, which, eventually, leads to a very poor…
orarne
  • 11
  • 2
0
votes
1 answer

How to call OPL by doopl while defining the objective function in Python?

Dears, I have an optimization model that was built using OPL. The model works fine but I would like to use an objective function that is defined in Python. My question is can I use doopl to call the OPL model into python and use the objective…
0
votes
2 answers

doopl bin directory path

I added the bin directory path of opl on system environment setting. Following is the path. C:\Program Files\IBM\ILOG\CPLEX_Studio1210\opl\bin\x64_win64 However, the doopl keeps giving me error like below File…
0
votes
1 answer

getting result from doopl in python

Hi I'm using doOPL in python. The following is part of my code. with create_opl_model(model="phase0.mod",data="prob1.dat") as opl: # tuple can be a list of tuples, a pandas dataframe... # Generate the problem and solve it. start_time =…