oplrun command does not work
3 views (last 30 days)
Show older comments
Does anyone know why my "oplrun command" does not run my cplex model?
I wrote two following lines in matlab and expected it to run my cplex model. But it only opens IBM ILGO CPLEX without runing the model.
command = 'oplrun model.mod model.dat';
[status, cmdout] = system(commandx);
Any help is greatly appreciated.
Thanks.
2 Comments
Walter Roberson
on 25 Mar 2022
Could you confirm that model.mod and model.dat are in the current directory at the time you system() ?
And could you confirm that oplrun is in your Windows path ?
Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!