Skip to content

Match infeasible problem handling to CVXPY  #70

@TimWalter

Description

@TimWalter

Hey,
Noticing that the current behaviour for an infeasible problem in the batch is just to throw a SolverError.

I think matching the CVXPY interface of just reporting infeasibility would be advantageous because

  • it matches the CVXPY behaviour
  • it allows using DiffCP and CVXPYLayers for feasibility problems, which is currently cumbersome

I assume this would require some work, since its has to be kept track of, which thread is dealing with an infeasible problem and there would be a need for additional returns. Moreover, it probably makes no sense to support this for solve_and_derivative_batch but only for solve_only_batch.

However given the desire to fulfill cvxpy/cvxpy#2485, this may be required eventually anyway.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions