Skip to content

Commit

Permalink
Renaming the parameterized standard form compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
emma58 committed Nov 8, 2024
1 parent 52e7207 commit 7a296c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyomo/core/plugins/transform/lp_dual.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def create_using(self, model, ostream=None, **kwds):
model, mixed_form=True, set_sense=None
)
else:
std_form = WriterFactory('parameterized_standard_form_compiler').write(
std_form = WriterFactory('compile_parameterized_standard_form').write(
model, wrt=config.parameterize_wrt, mixed_form=True, set_sense=None
)
return self._take_dual(model, std_form)
Expand Down
2 changes: 1 addition & 1 deletion pyomo/repn/plugins/parameterized_standard_form.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@


@WriterFactory.register(
'parameterized_standard_form_compiler',
'compile_parameterized_standard_form',
'Compile an LP to standard form (`min cTx s.t. Ax <= b`) treating some '
'variables as data (e.g., variables decided by the outer problem in a '
'bilevel optimization problem).',
Expand Down

0 comments on commit 7a296c8

Please sign in to comment.