Skip to content

Variable/Constraint Scaling #219

@eslickj

Description

@eslickj

It looks like a variable scaling feature in Pyomo would be very useful. Depending on what units of measure I'm using I can have variables with values as low as 1e-9 (maybe lower). Right now if I really need to scale something I create a variable "something_scaled" and and expression "something" where something is like something_scaled/1e9. Then the variable "something_scaled" has a reasonable magnitude and I use the expression in place of the original unscaled variable.

It would be nice if variables just had a scale factor to do something similar. Although equation scaling is pretty easy, a similar thing could be done with constraints.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions