Skip to content

Optimizer option for solution limit #2282

@chriscoey

Description

@chriscoey

I see there is a solver status code for solution limit: https://jump.dev/MathOptInterface.jl/stable/reference/models/#MathOptInterface.SOLUTION_LIMIT

But I didn't see an option for collecting up to N solutions. I think this would be useful to abstract over at least for MIP solvers and constraint solvers like MiniZinc? e.g. MiniZinc has https://www.minizinc.org/doc-2.7.6/en/command_line.html?highlight=max%20solutions#cmdoption-n

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