Originally posted by: EdKlotz
>
> Hi
> I am running a column generation c++ program and catching this error every several iterations "ILM Error 6: lost connection with token server on "servername"" and "" ILM Error 11: invalid data received from token server on "servername" at the end of the run.
> Thanks for any help or suggestions
This can happen if your application rapidly checks out and checks in licenses.
In column generation, this can happen if you create a new IloCplex object each time
you solve a subproblem. You don't need to do this; create a single IloCplex object
for the subproblem solves once. Then, for each subproblem solve, use IloAlgorithm::clear
to clear the existing model from the IloCplex object. You can then reuse the IloCplex
object repeatedly during the subproblem solves, extracting each new subproblem to the
same IloCplex object. In addition to resolving the licensing problem, it should also
speed up your program a bit.
Ed
#CPLEXOptimizers#DecisionOptimization