-
Notifications
You must be signed in to change notification settings - Fork 294
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
Using nonlinear constraints with boolean masks #2534
Comments
Hi @Fa20 , thanks for your question. If by nonlinear constraints you mean something like |
@danielcohenlive thanks for your answer. I mean something like :(x1-2*x2>0)&(x2+0.5x1<0) |
@Fa20 that's not supported. The constraints are in a python-like format, but they aren't actually executed as raw python under the hood. Can you describe what you're trying to do at a high level? Maybe there's another way to accomplish it. If not you're welcome to make a feature request. |
@danielcohenlive I 'm using this conditions to filter the the range of the prameters and one of the filter condition is : (x1-2*x2>0)&(x2+0.5x1<0) but I'm thinking to split it to two condition and add them to parameters_constrains ? |
Yes, that's the right move here |
Hallo
How can I use
nonlinear constraints with boolean masks in AX?
The text was updated successfully, but these errors were encountered: