I'm trying to use a callback to add a cut that equals a Gurobi expression, which sums a variable, at different times.
If I keep the expression in the list of callback arguments, I get an error message related to the arguments (they don't match!). Once I remove it (GRBQuadExpr) the optimization is done without running the callback.
I appreciate any help for which I thank you in advance!
Please sign in to leave a comment.