Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Functional Bounds on Infinite Variables #253

Open
pulsipher opened this issue Mar 10, 2022 · 0 comments
Open

Allow Functional Bounds on Infinite Variables #253

pulsipher opened this issue Mar 10, 2022 · 0 comments
Labels
enhancement New feature or request modeling Something to do with our infinite model capabilities
Milestone

Comments

@pulsipher
Copy link
Collaborator

pulsipher commented Mar 10, 2022

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))
@pulsipher pulsipher added enhancement New feature or request modeling Something to do with our infinite model capabilities labels Mar 10, 2022
@pulsipher pulsipher added this to the v0.6 milestone Mar 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request modeling Something to do with our infinite model capabilities
Projects
None yet
Development

No branches or pull requests

1 participant