-
Notifications
You must be signed in to change notification settings - Fork 154
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
LP status (22): dual objective limit exceeded #839
Comments
Hi @meng25meng, I edited your answer to make it clearer. Please take a look and try to produce something similar next time. As for your question, we will need more information to judge the situation and answer it. For starters, what do you mean by "capacity limit constraint"? There are many ways with which you can limit the capacity of technologies in our model, you can have fixed limits or dynamic limits on new capacity and total capacity (total capacity can just be fixed). Which one did you set? You can of course play around with the parameters you mention, though I can't predict how successful this may be. Please share more information with us so that we can provide better help. |
Hi @glatterf42, I think I encountered a similar problem. I added the parameter I asked ChatGPT and tried adding a GAMS parameter DEFAULT_CPLEX_OPTIONS = {
"advind": 0,
"lpmethod": 4,
"threads": 4,
"epopt": 1e-6,
"BarObjRng": 1e+20, # <-- added this one
} Then, the model could be solved. |
Per @SongminYu, here is the actual (not ChatGPT) documentation on the
Some thoughts:
I would suggest this is
|
Hi @khaeru, thanks for your detailed answer as always! Then I don't remember exactly if there is something else that I changed. I have made some changes in the model so I cannot replicate it, either. I will report if I see it again. I also just revised the units of my monetary parameters by 1e6. Thanks for your advice! |
Code sample or context
Reading parameter(s) from "C:\path\for\model\files\cplex.opt":
Expected result
Problem description
Hello, I would like to ask if the parameters of the solver need to be changed? I built a model of 31 nodes, without adding soft constraints, can run the result, but adding the capacity limit constraint will report an error, can not find whether it is related to the capacity limit data or the solver, I want to consult,
Do I need to change these parameters?
Versions
Output of message-ix show-versions
The text was updated successfully, but these errors were encountered: