How to fix variables of the presolved model
ユーザーの入力を待っています。
How to fix some variables of model m after m is presolved, and obtain a solution of the corresponding sub-MIP.
I tried to fix some variables of model p = m.presolve() and solve it, however, p may introduces new variables and the mapping u: p →m is unaccessible so i can't obtain a solution of m.
-
We do not recommend modifying the presolved model (since, as you noticed yourself, you cannot access the mapping back to the original model).
Why can't you fix the variables in the original model?
-1 -
Because I need to try many kinds of fixations and solve the sub-MIP, but i wish to presolve the original model m only once (to save time). In fact i don't need the mapping itself, i just need the solution of m, is there any method to achieve this?
0 -
This is not possible. You should fix the variables in the original model.
How long does presolve take in your models?
0
サインインしてコメントを残してください。
コメント
3件のコメント