Skip to content

Collecting multiple solutions without stopping optimal search #1154

@JasonSloan

Description

@JasonSloan

Hi everyone,
I have a question about SCIP / PySCIPOpt.

In my model, when I set limits/solutions=10, the solver sometimes returns a worse objective than when I set max_solutions=1 (which doesn’t set limits/solutions in my code).
I understand limits/solutions stops the solve after N feasible solutions are found, so it may terminate before reaching the optimum.

Is there a way to collect multiple feasible solutions (e.g., 10) but still keep searching for the optimal solution (or continue until the time limit), without stopping
early?
If so, what’s the recommended approach or parameter combination in SCIP?

Thanks a lot for any guidance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions