-
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hi @superboom ,
Yes, as long as you find a way to call those from within the Python agent.
You can extract information from the internal model stored in the environment, from within the m = model.as_pyscipopt()
m_copy = pyscipopt.Model(sourceModel=m)Best, |
Beta Was this translation helpful? Give feedback.
Hi @superboom ,
Yes, as long as you find a way to call those from within the Python agent.
You can extract information from the internal model stored in the environment, from within the
ObservationFunctionof your agent. This includes the current LP solution value (m.getLPObjVal()). However, it is illegal to make any API call from PySCIPOpt that will change the state of the SCIP model, hence the state of the environment. You might …