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

Multiple Ranges for variables #3715

Closed
ymayer2006 opened this issue Mar 22, 2024 · 3 comments
Closed

Multiple Ranges for variables #3715

ymayer2006 opened this issue Mar 22, 2024 · 3 comments

Comments

@ymayer2006
Copy link

Welcome to JuMP! You can use this Github issue to suggest a new feature for JuMP.

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Thanks for contributing to JuMP!

@ymayer2006
Copy link
Author

Is there a possibility to add multiple ranges for a specific variable, for example 0.4 <= x <= 1.6 or x = 0? I would really appreciate if someone could help me out

@ymayer2006 ymayer2006 changed the title Multiple Ranges v Multiple Ranges for variables Mar 22, 2024
@odow
Copy link
Member

odow commented Mar 22, 2024

Hi @ymayer2006,

If you're looking for "or x = 0" specifically, then use:
https://jump.dev/JuMP.jl/stable/tutorials/linear/tips_and_tricks/#Semi-continuous-variables

p.s., these questions are better asked on our forum: https://jump.dev/forum. We try to reserve the GitHub issues for bug reports and feature requests.

@odow
Copy link
Member

odow commented Mar 23, 2024

Closing because I don't know if there is anything actionable to do here. If you have more usage questions, please ask on the forum 😄 https://jump.dev/forum

@odow odow closed this as completed Mar 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants