termination code 11

399 views
Skip to first unread message

hessam

unread,
Aug 3, 2010, 3:35:14 PM8/3/10
to AMPL Modeling Language
Hi All,

I'm using AMPL+CPLEX and while I was trying to solve my ILP, I got the
following error:

error running cplexamp:
termination code 11


I searched the internet and I didn't find any useful information.
Someone mentioned that the problem happens when all the cplex license
available are used together, but I don't know what does that mean and
how I can fix the problem. Any help??

Thanks,

Robert Fourer

unread,
Aug 3, 2010, 8:25:57 PM8/3/10
to am...@googlegroups.com, hessam
Termination code 11 has been observed with many solvers. It results from a
low system-level error like a segmentation fault. The cause may be a fatal
condition of some sort -- most likely running out of memory -- or an obscure
program bug. Thus there is no easy diagnosis. If you can send us AMPL
files that enable us to reproduce the error condition on our computers, then
we can look for the problem using a debugger (if it's in the AMPL-CPLEX
interface) or pass it along to the CPLEX developers.

I have not heard that this error can occur when all CPLEX licenses are in
use. If that is the case then you should find that the problem disappears
as soon as the number of current CPLEX users decreases.

Bob Fourer
4...@ampl.com

Akshay

unread,
Aug 2, 2011, 6:12:48 PM8/2/11
to am...@googlegroups.com, hessam, 4...@ampl.com
Hi,
Has this bug been resolved ? I ran into it while trying to solve a SOCP formulation. Cplex was reporting infeasibility. So after I turned on IIS

option cplex_options 'iisfind 1'

cplexamp was crashing and producing this error message.

Akshay

unread,
Aug 2, 2011, 7:32:48 PM8/2/11
to am...@googlegroups.com, hessam, 4...@ampl.com
Never mind, I think the error occurs because IIS finder works only for LPs in Cplex. 

On that note, is it possible to invoke Cplex's conflict refiner from within AMPL ? I tried to export my SOCP model into a MPS file but AMPL complained that the model has nonlinear variables. Does AMPL not write MPS files for SOCPs ?

Thanks.

Robert Fourer

unread,
Aug 6, 2011, 12:11:03 AM8/6/11
to am...@googlegroups.com

The MPS format is defined only for linear problems, so it cannot be used to represent an SOCP.

 

From within AMPL you can invoke some features of CPLEX's conflict refiner.  See the section "Directives for Handling Infeasible Problems" in the User's Guide at

 

   http://www.ampl.com/BOOKLETS/amplcplex122userguide.pdf

 

Bob Fourer

4...@ampl.com

Walton P. Coutinho

unread,
Aug 10, 2016, 11:17:09 AM8/10/16
to AMPL Modeling Language
I am currently having the same issue. I am trying to solve a MISOCP and when I set:

option cplex_options 'iisfind 1'

AMPL crashes and produces the error message:

error running cplex:
termination code 11

Robert Fourer

unread,
Aug 10, 2016, 11:56:44 AM8/10/16
to am...@googlegroups.com
The error when specifying 'iisfind 1' for a MISOCP is a known issue. Probably the bug is in the AMPL-CPLEX interface, in which case we will announce the availability of updated CPLEX for AMPL binaries by sometime next week.

Bob Fourer
am...@googlegroups.com

=======

From: am...@googlegroups.com [mailto:am...@googlegroups.com] On Behalf Of Walton P. Coutinho
Sent: Wednesday, August 10, 2016 10:17 AM
To: AMPL Modeling Language

Robert Fourer

unread,
Aug 26, 2016, 11:38:18 PM8/26/16
to am...@googlegroups.com
We have updated CPLEX for AMPL to fix the problem that caused a crash while determining an IIS for an MISOCP. For further information, see this reply:

https://groups.google.com/d/msg/ampl/bY3JE0NuBQk/ne-oVFQYAQAJ.

Bob Fourer
am...@googlegroups.com

=======

From: am...@googlegroups.com [mailto:am...@googlegroups.com] On Behalf Of Walton P. Coutinho
Sent: Wednesday, August 10, 2016 10:17 AM
To: AMPL Modeling Language
Subject: [AMPL 12432] Re: termination code 11

Reply all
Reply to author
Forward
0 new messages