I am working with Benders Decomposition and for the moment I am using the bendersatsp.py
file in order to adapt this code for my own MIP problem.
The situation is that in my case the solution of the master takes part in some constraints of the subproblem, unlike this bendersatsp.py
file. That's means that for each current solution of the master I have to modify the coeficients of these constraints.
So, what I could/must write in order to use the current solution vector of the master into the subproblem?
For the moment I have write this block of constraints into the separate
function but the optimal objective value is not correct.
Why this is not a good way?
Thanks in advance!