I would like to create a bin packing solver using CP Optimizer. This was apparently possible with a predecessor called ILOG Solver:
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));
binpacking.cpp:31: error: no match for call to â(IloIntArray) (IloIntVar&)â
Is there something simple I can do to resurrect this example? Many thanks!