Jonasz Staszek
-
Community Moderator
- Total activity 302
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 13
- Subscriptions 124
Comments
Recent activity by Jonasz Staszek-
Hi Simon, The documentation suggests that quadratic constraints handle equality constraints. How do you know that the constraints were converted to an inequality form? Did you store the model someh...
-
Cross-posted here.
-
Hi Jingyue, this article should shed some light. Writing a solution to an Excel sheet can be done for example by iterating over variables of the model and retrieving their value in each scenario, a...
-
Hi Tiril, 1. What are \(U1, U2\)? Are they variables? If so, you need to define them as such upfront, for example by: U1 = m.addVars(alternative, criteria, vtype="C", name="u1")U2 = m.addVars(alter...
-
Hi Johan, Did you set the NonConvex parameter to 2, as suggested in the article you linked? Additionally, for the second auxiliary variable, which you defined as: gp.max_(a[t], 1) for t in range (T...
-
I have too little information to tell. I used "_" in my codes and it never caused any trouble. If you like, you can share a minimal reproducible example of your code and we'll see what could cause ...
-
Cross-posted here. Best regards,Jonasz
-
Generally, I would recommend giving all the variables a custom name to quickly distinguish one from the other. Then the .lp file will contain the user-defined variable names. Just beware not to us...
-
You can write the complete model using model.write("model.lp") in Python API, although the file will not look exactly the way you want. But I believe it should not be too difficult to come up with ...
-
Hi Tiril! Could you share a minimal reproducible example of the code which throws the error? We will then be able to give you better advice. Best regardsJonasz