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
SCIP and its python library pyscipopt also support MILP problems with some configs. So do you have any plan to add it into the solvers list. As an open source solver, I think scip may be better than cbc and glpk in many cases.
importpyscipoptaspsofrompyscipoptimportModelmodel=Model("prod")
# In order to get dual, needs the following configsmodel.setPresolve(pso.SCIP_PARAMSETTING.OFF)
model.setHeuristics(pso.SCIP_PARAMSETTING.OFF)
model.disablePropagation()
# LP algorithm for solving initial LP relaxations (automatic 's'implex, 'p'rimal simplex, 'd'ual simplex, 'b'arrier, barrier with 'c'rossover)model.setCharParam("lp/initalgorithm","p")
model.setParam('limits/time', 600)
lmp=model.getDualsolLinear(power_balance_cons[bus, ti])
angle=model.getVal(bus_angle[bus, ti])
The text was updated successfully, but these errors were encountered:
SCIP and its python library
pyscipopt
also support MILP problems with some configs. So do you have any plan to add it into the solvers list. As an open source solver, I think scip may be better than cbc and glpk in many cases.The text was updated successfully, but these errors were encountered: