# Error code (-11)

**URL:** <https://discuss.ampl.com/t/error-code-11/1008>\
**Category:** Support\
**Tags:** errors-and-messages\
**Created:** [March 21, 2024, 1:23am UTC](https://discuss.ampl.com/t/error-code-11/1008 "2024-03-21T01:23:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bedor\_Alyahya](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.ampl.com/bedor_alyahya/32/713_2.png) [@Bedor\_Alyahya](https://discuss.ampl.com/u/Bedor_Alyahya)\
**Post date:** [March 21, 2024, 1:23am UTC](https://discuss.ampl.com/t/error-code-11/1008/1 "2024-03-21T01:23:24Z")

</div>

I am reaching out regarding an issue I encountered while using the CPLEX solver with AMPL. Upon running the solver, I received the following error message:

```auto
ERROR: Solver (asl) returned non-zero return code (-11)
ERROR: See the solver log above for diagnostic information.

```

I attempted to investigate further by checking the logfile, but it appears to be empty, providing no diagnostic information. As a result, I am unsure of the specific cause of the error and how to proceed with resolving it.

Could you please assist me in understanding the possible reasons for this error?

---

<div class="post-metadata">

**Author:** ![4er](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.ampl.com/4er/32/530_2.png) [@4er](https://discuss.ampl.com/u/4er)\
**Post date:** [March 22, 2024, 3:27am UTC](https://discuss.ampl.com/t/error-code-11/1008/2 "2024-03-22T03:27:56Z")

</div>

We have seen this form of error message only when modeling is being done with Pyomo rather than AMPL. Specifically, the message beginning `ERROR:` `Solver` `(asl)` `returned` `...` occurs when Pyomo calls a solver that has an asl (AMPL-solver library) interface.

This particular return code (`-11`) is seen with various solvers. According to a comment at [https://stackoverflow.com/questions/44229593/what-does-status-code-11-from-the-pyomo-couenne-solver-mean](https://stackoverflow.com/questions/44229593/what-does-status-code-11-from-the-pyomo-couenne-solver-mean), it indicates a crash — specifically, a segmentation fault. But it does not give any indication of the reason for the crash.

Can you provide the following information, which may be useful in providing some help with the asl cplex solver?

- Execute the command “`cplex` `-v`” from an operating-system prompt, and show all of the output that results.

- Given any details you have about where you where/how you downloaded the `cplex` executable that you are using.
