Skip to content

Do not add infinite bounds #2634

@odow

Description

@odow

In this example:

using JuMP, SCS
m = Model(with_optimizer(SCS.Optimizer))
@variable(m, -Inf <= x <= Inf)
@objective(m, Max, x)
@constraint(m, x <= 10)
optimize!(m)

The bridges should not pass x - Inf in Nonpositives() and x + Inf in Nonnegatives() to the solver.

x-ref: jump-dev/SCS.jl#205
x-ref: jump-dev/SCS.jl#170

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions