benders algorithm, the sub-problem is not feasible, use constr.farkas to solve the value of each constraint of the sub-problem at the corresponding position of the polar ray vector
I have many constraints, so I use a dictionary to store each variable. How do I access the dictionary to access the farkasdual value of the corresponding constraint, and multiply it by the corresponding constant term in the corresponding constraint + the corresponding main problem variable, which is the variable vars_3d corresponding to this dictionary? , to obtain the cutting plane of the main problem. Why can't it be found? Is it because the attribute farkasdual is used for each constraint separately? Does the obtained value correspond to the polar ray vector?
0
Please sign in to leave a comment.
Comments
0 comments