IBMDecisionOptimization / docplex-examples

These samples demonstrate how to use the DOcplex library to model and solve optimization problems.
https://ibmdecisionoptimization.github.io/
Apache License 2.0
396 stars 229 forks source link

Error in solver version #9

Closed ZhouC-J closed 5 years ago

ZhouC-J commented 5 years ago

I'm trying to run a CP example in Python 3.6, but there is an error : Solver version 12.8.0.0 is lower than model format version 12.9.0.0. How can I change the defaut version to 12.8.0.0?

ZhouC-J commented 5 years ago

I've solved the problem, I just add the line: cp.set_format_version('12.8.0.0') before cp.solve(). I'm sorry to bother you