Open virsto opened 4 years ago
Dear Virsto,
I think there is no easy way for assessing the LP relaxation in pyscipopt (as opposed to, say, gurobipy). However, you could do something like:
for i in Is: model.chgVarType(y[i], "C")
Hope this helps,
jpp
Here is some python code that illustrates the problem:
from pyscipopt import Model
master = Model("master LP")
relax = master.relax()
This generates the error: builtins.AttributeError: 'pyscipopt.scip.Model' object has no attribute 'relax'
Note, I am using Python 3.6.5 and pyscipopt 3.0.2. Could you please show me how I can use "relax" as shown in your documentation? Thank you.