Forum Discussion
FICO
3 years agoCommunity Manager
XPRSmipoptimize - received signal SIGFPE, Arithmetic exception.
I am working on a program written in Pascal that's failing to optimize a MIP problem using XPRESS. The problem is created with XPRSloadmip and optimized with XPRSmipoptimize. In order to debug this ...
FICO
3 years agoCommunity Manager
By default the console optimizer runs with floating point exceptions disabled, this is probably why you don't get an exception there.
Could you try to explicitly disable floating point exceptions in your Pascal program? You would have to do something equivalent to feenableexcept(), see for example here.
If this fixes the problem, you could try to figure out which of the exceptions is thrown (inexact, invalid, overflow, underflow, divbyzero) and then potentially only disable that exception.
So far I have only been able to produce an "inexact" exception here with your model and that exception is expected in certain places.
Related Content
Related Content
Exception Thrown: 'System.BadImageFormatException' in xprsdn.dll
I am trying to use XPRESS optimizer using C# using Visual Studio. I found an example which I am trying to run. The code is given below. using System; using System.IO; using Optimizer; namespace X...4 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum1 unread comment1 unread0Views0likes1CommentRare occurrences of exception xpress.InterfaceError: Incorrect control name
We have an optimization job that ~2% of the time fails with xpress.InterfaceError: Incorrect control name when trying to set xp.controls.miprelstop. This is the first line of code in our solver funct...3 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum3 unread comments3 unread0Views0likes3Comments