Skip to content

Incorrect PrimalStatus if termination is not optimal #249

@odow

Description

@odow

Juniper reports the PrimalStatus as INFEASIBLE_POINT when the problem is not optimal:

if model.inner === nothing
return MOI.NO_SOLUTION
end
if state_is_optimal(
model.inner.status;
allow_almost = model.inner.options.allow_almost_solved,
)
return MOI.FEASIBLE_POINT
else
return MOI.INFEASIBLE_POINT
end

This is incorrect, because sometimes the point is actually feasible. If we can prove feasibility, it should be FEASIBLE_POINT, otherwise it should be something like UNKNOWN_RESULT_STATUS

First reported on Discourse:
https://discourse.julialang.org/t/obtaining-sub-optimal-results-from-the-model-when-the-time-limit-is-reached/85635

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