Skip to content

Allow Functional Bounds on Infinite Variables #253

@pulsipher

Description

@pulsipher
Collaborator

Currently, we allow start values on infinite variables to be functions. However, bounds can only be constants as illustrated in #252.

Hence, we should generalize the API to allow for functional bounds. This will likely have implications in relation to #148.

This new API would look something like:

using InfiniteOpt

model = InfiniteModel()
@infinite_parameter(model, t in [0, 1])

my_func(t) = sin(t)
@variable(model, -my_func <= y <= myfunc, Infinite(t))

Activity

added
enhancementNew feature or request
modelingSomething to do with our infinite model capabilities
on Mar 10, 2022
added this to the v0.6 milestone on Mar 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestmodelingSomething to do with our infinite model capabilities

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @pulsipher

        Issue actions

          Allow Functional Bounds on Infinite Variables · Issue #253 · infiniteopt/InfiniteOpt.jl