Skip to content

CPLEX's mip.limits.solutions parameter results in SolutionStatus.error #1333

Open
@ruaridhw

Description

@ruaridhw
  1. Run an optimisation with the CPLEX LP solver and add solver.options['mip_limits_solutions'] = some_positive_integer
  2. The solver status will be 'ok', the termination condition will be 'unknown', and the solution status will be 'error'

Arguably, the solution status should be treated in identical fashion to solver.options['timelimit'] = some_positive_integer. As should all other ways of user-imposed-limit termination.

Additionally, an actual termination condition could be parsed from the log file. Perhaps maxEvaluations is the most suitable? Having said that, it looks like this is deprecated because we do not insert the solution into results if this condition is met (which I don't quite understand).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions