You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey I'm trying to do the following: when SCIP takes the "vanilla full strong" strategy, it computes a strong branching score for each candidate by solving two LPs associated with it (rounding its solution for current LP relaxation up and down), now I want to extract the solutions for the (2*n_cands) LPs.
SCIPgetVarStrongbranchInt or SCIPgetVarStrongbranchFrac (scip/scip_var.c)
SCIPcolGetStrongbranch (scip/lp.c)
SCIPlpiStrongbranchInt or SCIPlpiStrongbranchFrac (lpi/lpi_grb.c)
lpiStrongbranch (lpi/lpi_grb.c)
SCIPlpiSolveDual (lpi/lpi_grb.c)
The last function actually does the solving. Is there a graceful way to extract the solution produced by the last function? (By gracefully I mean avoiding modifying the source code of SCIP but only Ecole.)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey I'm trying to do the following: when SCIP takes the "vanilla full strong" strategy, it computes a strong branching score for each candidate by solving two LPs associated with it (rounding its solution for current LP relaxation up and down), now I want to extract the solutions for the (2*n_cands) LPs.
I find the following calling chain:
ecole::observation::StrongBranchingScores::extract
branchExeclpVanillafullstrong
(scip/branch_vanillafullstrong.c)runVanillaStrongBranching
(scip/branch_vanillafullstrong.c)SCIPgetVarStrongbranchInt
orSCIPgetVarStrongbranchFrac
(scip/scip_var.c)SCIPcolGetStrongbranch
(scip/lp.c)SCIPlpiStrongbranchInt
orSCIPlpiStrongbranchFrac
(lpi/lpi_grb.c)lpiStrongbranch
(lpi/lpi_grb.c)SCIPlpiSolveDual
(lpi/lpi_grb.c)The last function actually does the solving. Is there a graceful way to extract the solution produced by the last function? (By gracefully I mean avoiding modifying the source code of SCIP but only Ecole.)
Beta Was this translation helpful? Give feedback.
All reactions