Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.
Originally posted by: ops1234
Is it possible/allowed to introduce new variables via CPXXnewcols() in a usercut callback set by CPXXsetusercutcallbackfunc()? When I do so, I get the error 1006: CPXERR_CALLBACK.
Best regards,
ops
CPLEX does not allow you to modify a problem while it is being solved. Attempts to do so will trigger error messages. Note that adding user cuts and lazy constraints does not modify the underlying problem, since they are kept in a separate pool.
That's what I thought. Thank you.