Skip to content

Variable with Type=Integer ends with non-integral Value #9

Answered by jhmgoossens
adante111 asked this question in Q&A
Discussion options

You must be logged in to vote

About non-integer solution:
Most likely, the solver hasn't found any integer solution yet--or the solution returned by Cbc to Sonnet is like the latest relaxation, not the last integer solution.
Can you check the output for message about solutions? (or even post the output here?)

About timeout:
Sonnet relies on OsiSolverInterface. Therefore, any parameter/setting that doesn't come via OSI (like timeout) has only limited support (see Osi Discussion 150). In the case of Cbc you found the way to pass tailored settings: via the args.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@adante111
Comment options

@jhmgoossens
Comment options

@jhmgoossens
Comment options

@jhmgoossens
Comment options

@adante111
Comment options

Answer selected by adante111
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants