codykarcher / pyomo

An object-oriented algebraic modeling language in Python for structured optimization problems.
https://www.pyomo.org
Other
0 stars 0 forks source link

Handle operators in runtime constraints #2

Open codykarcher opened 1 year ago

codykarcher commented 1 year ago

Waiting on a fix in base pyomo, but then need to enable operators ("==","<=",">=") in the Formulation.RuntimeConstraint() function.

This includes handling appropriate cases. IE, if a single operator is passed in, but output is a vector, then appropriate constraints should be generated.

blnicho commented 10 months ago

@codykarcher is there an open issue in the main Pyomo repo that you can link to this issue?

codykarcher commented 10 months ago

Issues here are targeted at EDI specific needs, but I'm happy to open a parallel issue on the pyomo page if there is sufficient interest

blnicho commented 10 months ago

The issue description mentions that this is "waiting on a fix in base Pyomo" so mostly I was just wondering what fix/functionality you were referring to. I think it's fine to keep your EDI specific issues here.

codykarcher commented 10 months ago

It would be more accurate to say waiting on @michaelbynum to add something to the grey box stuff than to pin this on pyomo. Will just hold here for now since it's a feature enhancement and not a bug