Originally posted by: MichaelD.Moffitt
Hello,
I would like to create a bin packing solver using CP Optimizer. This was apparently possible with a predecessor called ILOG Solver:
http://www.cs.cornell.edu/w8/iisi/ilog/cp11/usrsolver/binpacking11.html I copied this program and was almost able to compile it, with a few errors here and there. After massaging the code a bit, this is the only line that doesn't seem to "port" into the CP Optimizer:
model.add(_capacity == Capacity(_type));
It complains:
binpacking.cpp:31: error: no match for call to â(IloIntArray) (IloIntVar&)â
Is there something simple I can do to resurrect this example? Many thanks!
#CPOptimizer#DecisionOptimization