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 228 forks source link

Error in Docplex documentation #4

Closed jkinable closed 5 years ago

jkinable commented 6 years ago

Method: docplex.cp.modeler.no_overlap(sequence, distance_matrix=None, is_direct=None) http://ibmdecisionoptimization.github.io/docplex-doc/cp/docplex.cp.modeler.py.html#docplex.cp.modeler.no_overlap

The documentation seems to suggest that parameter is_direct is a boolean (True or False), but providing a boolean throws an exception. instead a value 0 or 1 is expected.

Finally it would be very helpful to include some more examples, including the java/c++ examples. Currently there is no python example where sequencing with setup times is used.

ooudot commented 6 years ago

Thanks a lot for this comment Joris. We will fix the problem and try to add more examples.