"Unknown rosepy problem" is the default name given to models uploaded through rosepy when no explicit name is set in Pyomo. This happens when you create your model like model = pyo.ConcreteModel().
How to name your models
To set a custom name, pass the name parameter when initializing the model. An example is shown below.
import pyomo.environ as pyo model = pyo.ConcreteModel(name='My optimization problem')
Now, when uploaded to Rose, your model will carry the name "My optimization problem.mps" instead of the default name.
Comments
0 comments
Please sign in to leave a comment.