Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

seg fault when solving empty problem in OsiSym #47

Open
svigerske opened this issue Feb 26, 2019 · 5 comments
Open

seg fault when solving empty problem in OsiSym #47

svigerske opened this issue Feb 26, 2019 · 5 comments
Assignees
Labels
bug Something isn't working Master module

Comments

@svigerske
Copy link
Member

Issue created by migration from Trac.

Original creator: kishshen

Original creation time: 2006-09-01 17:36:20

Assignee: @tkralphs

Version:

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.

@svigerske svigerske added this to the 5.1 milestone Feb 26, 2019
@svigerske svigerske added bug Something isn't working major Master module labels Feb 26, 2019
@svigerske
Copy link
Member Author

Comment by @tkralphs created at 2006-09-04 18:34:39

Changing assignee from @tkralphs to menal.

@svigerske
Copy link
Member Author

Comment by menal created at 2006-09-06 23:57:33

Changing status from new to assigned.

@svigerske
Copy link
Member Author

Comment by @tkralphs created at 2006-09-25 22:00:37

Version: Version: 5.1

@svigerske
Copy link
Member Author

Comment by @tkralphs created at 2006-12-11 18:38:36

Version: Version changed from 5.1 to stable/5.1 (SVN)

@svigerske
Copy link
Member Author

Comment by tom1 created at 2008-11-25 12:40:43

problem, i.e. a problem with no objective function, no variables or constraints. I get the following warning when the problem is set

@tkralphs tkralphs removed this from the 5.1 milestone Jul 4, 2019
@tkralphs tkralphs removed the major label Jul 30, 2019
@tkralphs tkralphs self-assigned this Jul 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Master module
Projects
None yet
Development

No branches or pull requests

2 participants