Support of long/integer in ILP solver #425
Replies: 2 comments 2 replies
-
|
Beta Was this translation helpful? Give feedback.
-
In The solvers typically work with The MIP solver internally keeps track of lower/upper integer bounds using Not sure what your problem is, but if possible I'd try to scale the parameters "manually" before setting them in Not sure upgrading to the latest version would solve this particular problem, but the various solvers have been much improved with recent releases. I'd make an effort to try and upgrade to the latest version. |
Beta Was this translation helpful? Give feedback.
-
Hello,
Problem
Recently I've been facing a StackOverflowException when using ojAlgo version 44 to solve an ILP problem built with the ExpressionBasedModel class.
I guess this is due to an integer overflow, indeed the variable coefficients are large numbers close to the integer limit (2^31).
Moreover I had troubles setting upper limit to some variables to be minimized (if upper limit is above 2^31, the solution is clearly not optimal). Maybe somewhere a loop/recusrion is bounded by an integer whereas it should be a long.
Questions
Is this a known bug in version 44?
Are long integers supported in more recent versions of ojAlgo?
Cheers
Beta Was this translation helpful? Give feedback.
All reactions