Skip to content

ContinuousSet.get_interval() should always report a step None #2513

Open
@jsiirola

Description

@jsiirola

Summary

While the ContinuousSet is implemented as a discrete set, It should not report that its interval is discrete.

Steps to reproduce the issue

>>> from pyomo.dae import *
>>> c = ContinuousSet(bounds=(0,1))
>>> c.construct()
>>> c.get_interval()
(0, 1, 1)

Information on your system

Pyomo version: all
Python version:
Operating system:
How Pyomo was installed (PyPI, conda, source):
Solver (if applicable):

Additional information

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