Skip to content

value should return "natural" type for argument #3885

@mrmundt

Description

@mrmundt

Summary

This was discussed in our Pyomo 7 planning session on March 20, 2026.

Description

  • value() should return "natural" value for argument (bool, float, Quantity)
  • {var, constraint}.lb and .ub should return +/-float(inf) and not None
  • Remove evaluating expressions / numeric objects using __call__

Additional information

Metadata

Metadata

Assignees

No one assigned

    Labels

    pyomo7This is a label for issues targeted for the next major release.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions