Search code examples
python-3.xcplexdocplex

Documents and Syntax Reference for docplex


I was wondering if anyone could guide me to obtain a kind of document that specifically contains all syntax of CPLEX library on Python 2.7. and probably an example to show the arguments. The syntax I am looking for is that I need to see just one or a range of constraints, but the following command presents all the model:

print(mdl.export_to_string())

I need to only see constraints e.g. in range 10 to 20. Thanks,


Solution

  • The documentation for docplex.mp.model.Model is at http://ibmdecisionoptimization.github.io/docplex-doc/mp/docplex.mp.model.html. And the rest of the documentation is available from http://ibmdecisionoptimization.github.io/docplex-doc/.