*** Failure calling solver: CONOPT4 (rc=1). What does it mean?

Solver related questions
Post Reply
Yehuda
User
User
Posts: 8
Joined: 1 year ago

*** Failure calling solver: CONOPT4 (rc=1). What does it mean?

Post by Yehuda » 5 months ago

Hi everyone,

I run my model and receive that message:

*** Failure calling solver: CONOPT4 (rc=1)

What does it means and how can I solve it?

Thank you.
Last edited by Yehuda 5 months ago, edited 1 time in total.

User avatar
Renger
Posts: 272
Joined: 2 years ago

Re: *** Failure calling solver: CONOPT4 (rc=1). What does it means?

Post by Renger » 5 months ago

Hi
Conopt4, as far as I can see in the documentation, came with GAMS version 25.1. Perhaps you have an older version of GAMS.
Just try 'option nlp=conopt;' (assuming you are trying to solve an NLP problem).

CHeers
Renger

Yehuda
User
User
Posts: 8
Joined: 1 year ago

Re: *** Failure calling solver: CONOPT4 (rc=1). What does it means?

Post by Yehuda » 5 months ago

First of all, thank you for the quick answer.
Second, I do run a NLP model and my GAMS version is 24.9.2, which I bought specifically for CONOPT4 (due to previous problems).
The strange thing is that under certain conditions the model runs and reaches an optimal solution, and under other conditions, it encounters this error. Therefore, I want to know what this error means.

Thanks again,

Yehuda

User avatar
bussieck
Moderator
Moderator
Posts: 330
Joined: 2 years ago

Re: *** Failure calling solver: CONOPT4 (rc=1). What does it means?

Post by bussieck » 5 months ago

It means that Conopt4 crashed. Conopt4 was introduced with GAMS 24.8 and is still under heavy development as you can see from the release notes (https://www.gams.com/latest/docs/RN_MAIN.html). Every major release came with an update of Conopt4. So you should see if you can reproduce the failure with the latest and greatest 25.1.3 and if so you should make this model available to GAMS support (support@gams.com) so they can pass it on to the Conopt developer.

-Michael

Yehuda
User
User
Posts: 8
Joined: 1 year ago

Re: *** Failure calling solver: CONOPT4 (rc=1). What does it means?

Post by Yehuda » 5 months ago

Thank you Michael.
In other words, you mean that I need to purchase an updated version?
I've been working with GAMS for about two and a half years, and this is the second time I've been asking for help from you, and this is the second time the solution is to buy another version.
I was wondering if every time I have a problem that I cannot solve by myself I need to purchase an updated version?
In addition, if I purchase an updated version but the problem will not be solved, what will I do then?

Yehuda

User avatar
dirkse
Moderator
Moderator
Posts: 56
Joined: 2 years ago
Location: Fairfax, VA

Re: *** Failure calling solver: CONOPT4 (rc=1). What does it means?

Post by dirkse » 5 months ago

Yehuda,

Precisely speaking, there is really no such thing as buying an updated version. The GAMS licensing model is based primarily on time. For example, new licenses come with 12 months of Maintenance & Support (M&S). During this 12 months (and perhaps a bit longer) you can be assured that your license will allow you to run new releases. After that time, it becomes necessary to extend the M&S to fully use the latest GAMS releases.

In your case, it's possible that the same update that enabled you to use 24.9.2 will allow you to use 25.1.3.

The details of your license can be discussed off-list with the GAMS sales team.

-Steve

Post Reply