[英]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. 我想知道是否有人可以引导我获得一种文档,该文档专门包含Python 2.7上CPLEX库的所有语法。 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 eg in range 10 to 20. Thanks, 我只需要查看约束,例如范围在10到20之间。谢谢,
The documentation for docplex.mp.model.Model
is at http://ibmdecisionoptimization.github.io/docplex-doc/mp/docplex.mp.model.html . docplex.mp.model.Model
的文档位于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/ . 其余文档可从http://ibmdecisionoptimization.github.io/docplex-doc/获得 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.