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
Method convert_prob in class Model modifies the user-provided pyomo model by adding new components.
If the model of interest contains a component with the same name as one of the components that are added by the convert_prob method it will be "overwritten" resulting in errors that are hard to trace.
Thus, there are some reserved component names against which the component names in the user-provided model must be checked and, in case of conflict, guide the user to fix them.
@wouterbles I already have a solution for this. It appears that there are only 4 components ({'Os', 'Slack', 'e', 'con_list'}) added to the model, but it would be good to rename them first.
The text was updated successfully, but these errors were encountered:
Method
convert_prob
in classModel
modifies the user-provided pyomo model by adding new components.If the model of interest contains a component with the same name as one of the components that are added by the
convert_prob
method it will be "overwritten" resulting in errors that are hard to trace.Thus, there are some reserved component names against which the component names in the user-provided model must be checked and, in case of conflict, guide the user to fix them.
@wouterbles I already have a solution for this. It appears that there are only 4 components (
{'Os', 'Slack', 'e', 'con_list'}
) added to the model, but it would be good to rename them first.The text was updated successfully, but these errors were encountered: