Skip to content
New issue

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

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

Already on GitHub? # to your account

report Not Solved/No Solution Exists when scip solver found a feasible solution already #706

Open
4 of 14 tasks
ben-xj opened this issue Nov 29, 2023 · 0 comments
Open
4 of 14 tasks

Comments

@ben-xj
Copy link

ben-xj commented Nov 29, 2023

For SCIP only, it report Not Solved/No Solution Exists when the solver found a feasible solution already. CBC and Cplex works fine.

i can see from scip output that a feasible solution is found:

SCIP Status : solving was interrupted [time limit reached]
Solving Time (sec) : 60.00
Solving Nodes : 458
Primal Bound : -1.69680949699402e+06 (4 solutions)
Dual Bound : -3.19371571353679e+06
Gap : 88.22 %

What did you do?

code:

solver = pulp.SCIP(msg=True, keepFiles=False, timeLimit=60)
self.model.solve(solver)
log.info(f'Status: {pulp.LpStatus[self.model.status]}')
status = pulp.LpSolution[self.model.sol_status]
log.info(f'Solution status: {status}')

What did you expect to see?

The best solution at the timelimit.

What did you see instead?

Not Solved/No Solution Exists

Useful extra information

The info below often helps, please fill it out if you're able to. :)

What operating system are you using?

  • Windows: ( version: ___ )
  • Linux: ( distro: ___ )
  • Mac OS: ( version: ___ )
  • Other: ___

I'm using python version:

  • 2.7
  • 3.4
  • 3.5
  • 3.6
  • Other: 3.9

I installed PuLP via:

Did you also

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant