Solver (ASL) did not exit normally

1,268 views
Skip to first unread message

Aml8992

unread,
Oct 3, 2016, 2:11:32 PM10/3/16
to Pyomo Forum
Hi all,

I had been successfully running a linear model with glpk, but added complexity and have been trying to run the now nonlinear model with bonmin. Even using the older linear .py and .dat files, I am getting the following recurring error when attempting to run with bonmin:

ERROR: "[base]\site-packages\pyomo\opt\base\solvers.py", 570, solve
Solver (asl) returned non-zero return code (3221225786)
ERROR: "[base]\site-packages\pyomo\opt\base\solvers.py", 573, solve
See the solver log above for diagnostic information.
[   75.48] Pyomo Finished
ERROR: Unexpected exception (ApplicationError) while running model H:/ERD/ANCHOR/Assignments/07_WMOSTEnhancement/02_WMOSTcoding/WMOSTv3/WMOSTv3coding_WQ/WQ_Debugging/Wmodel.py:
Solver (asl) did not exit normally

when using the following code:

pyomo solve Wmodel.py Wdata.dat --solver=bonmin --keepfiles --stream-solver --symbolic-solver-labels

I included the option to keep files, but although file paths are printed, they do not exist.In addition, I tested the bonmin executable on several example files and was able to get a solution and produce solver log files.

Any help would be appreciated!

Thanks,
Alyssa

Bethany Nicholson

unread,
Oct 3, 2016, 2:53:10 PM10/3/16
to pyomo...@googlegroups.com
This is just a guess, but usually when I see that error for nonlinear models it's because I haven't provided a good initialization for my variables and somewhere I have a constraint expression that cannot be evaluated at the default initial values of 0 (ex. dividing by zero). I'd recommend checking your model initialization as a first step and if that doesn't fix the problem then you should post a more detailed solver log and more information about your model.

Bethany

--
You received this message because you are subscribed to the Google Groups "Pyomo Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyomo-forum+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages