Replies: 1 comment 9 replies
-
|
Use https://ergo-code.github.io/HiGHS/stable/interfaces/c_api/#Highs_getLp-NTuple{16,%20Any} to get the LP. If your original problem was an LP and solved to an optimal basis, use https://ergo-code.github.io/HiGHS/stable/interfaces/c_api/#Highs_getBasis-Tuple{Any,%20Any,%20Any} to get the basis. If you pass the LP data to HiGHS with https://ergo-code.github.io/HiGHS/stable/interfaces/c_api/#Highs_passLp-NTuple{15,%20Any} and then call https://ergo-code.github.io/HiGHS/stable/interfaces/c_api/#Highs_setBasis-Tuple{Any,%20Any,%20Any} to pass the basis, HiGHS will hot start if you modify the LP using HiGHS calls |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
As the title says, how to duplicate a model, only by using the C api calls, to a new instance such that changes in the copy don't affect the original one and if possible can it also copy the solution status such that if I solve it (after making a change) that it iterates further. Also I need to copy the model without integer/binary/semi-cont variables to the copy must become a pure lp model.
Is there somewhere an example of this?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions