I'm trying to implement a callback function in which a list of variables that not belong to the model has to be updated when a MIP solution is found. My approach is to add the virable as the argument to the callback function:
but if I do so, I have to list all arguments of the callback function when I want to optimize my model:
and "where" is apparently not and should not be defined. How can I fix this issue? Thank you!
Please sign in to leave a comment.