[Symphony-tickets] [SYMPHONY Branch-and-Cut Framework] #47: seg fault when solving empty problem in OsiSym

SYMPHONY Branch-and-Cut Framework coin-trac at coin-or.org
Fri Sep 1 13:36:20 EDT 2006


#47: seg fault when solving empty problem in OsiSym
----------------------+-----------------------------------------------------
 Reporter:  kishshen  |       Owner:  tkr
     Type:  defect    |      Status:  new
 Priority:  major     |   Milestone:     
Component:  Master    |     Version:     
 Severity:  normal    |    Keywords:     
----------------------+-----------------------------------------------------
 I have been developing an interface for our Constraint Logic Programming
 language ECLiPSe
 to COIN/OSI. I am now trying it out with Symphony as the MIP solver
 (compiled with CLP as the
 linear solver. I downloaded the source about a month ago). I am using
 Symphony through the
 OsiSymSolverInterface.

 I am testing the system with some unit tests, and I get a segmentation
 fault when I try to solve
 an empty problem, i.e. a problem with no objective function, no variables
 or constraints. I get
 the following warning when the problem is set up:

 sym_load_problem_user():The given problem is empty or incorrectproblem
 description!

 and then when I call OsiSymSolverInterface's initialSolve() on the
 problem, I get a segmentation
 violation.

 ===

 I also get a segmentation violation when trying to solve a problem that
 has some variables
 (columns), but no constraints.

-- 
Ticket URL: <https://projects.coin-or.org/SYMPHONY/ticket/47>
SYMPHONY Branch-and-Cut Framework <http://example.com/>
My example project


More information about the Symphony-tickets mailing list