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

how can i find convertAllIntVars #55

Closed GeniusTian closed 3 years ago

GeniusTian commented 3 years ago

i want solve custstock Full integer problem using column generation by python ,but i could find nothing in doc image

PhilippeCouronne commented 3 years ago

Unfortunately, Docplex provides no column-oriented API formodeling. The cutstock example in this github relies on dual values, so changing all variables won't work either. I suggest you consider the Cplex/_python matrix-based API, doc is here:

https://www.ibm.com/docs/en/icos/20.1.0?topic=SSSA5P_20.1.0/ilog.odms.cplex.help/refpythoncplex/html/frames.html

GeniusTian commented 3 years ago

thank you for your answer