We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8215ef8 commit c2e00f2Copy full SHA for c2e00f2
pyomo/contrib/pynumero/algorithms/solvers/implicit_functions.py
@@ -403,11 +403,6 @@ def __init__(
403
# Need a dummy objective to create an NLP
404
for block, inputs in self._solver_subsystem_list:
405
block._obj = Objective(expr=0.0)
406
- # I need scaling_factor so Pyomo NLPs I create from these blocks
407
- # don't break when ProjectedNLP calls get_primals_scaling
408
- block.scaling_factor = Suffix(direction=Suffix.EXPORT)
409
- # HACK: scaling_factor just needs to be nonempty
410
- block.scaling_factor[block._obj] = 1.0
411
412
# Original PyomoNLP for each subset in the partition
413
# Since we are creating these NLPs with "constants" fixed, these
0 commit comments