ExpressionBased model initial solution #512
Replies: 4 comments 3 replies
-
When you call If you do |
Beta Was this translation helpful? Give feedback.
-
Yes, using |
Beta Was this translation helpful? Give feedback.
-
Another unrelated question: In this newer version the solver sometimes prints error messages (I think when generating cuts)
Is this a bug in the solver or is it expected to happen? Is there any way to turn off error messages like that one? |
Beta Was this translation helpful? Give feedback.
-
It's the MIP solver validating the LP node-solution and finding that it failed in a way it shouldn't. The fact that the LP fails that way is a problem, but the MIP usually deals with it. If you get a lot of them you should try to investigate further. |
Beta Was this translation helpful? Give feedback.
-
I am using ojAlgo (version 51.4.1, last one supporting java 8) to solve an integer problem. As far as I know, the
ExpressionBasedModel
can't take an initial solution butIntegerSolver
can. So I am solving the optimization problem as:val result = IntegerSolver.make(expressionModel).solve(initialSolution)
I get strange behavior since the
optimisationSense
isnull
but in earlier versions it wasminimize
by default. Also, in this version it is not possible to set theoptimisationSense
.Any help is appreciated
Beta Was this translation helpful? Give feedback.
All reactions