# Meaning of warning: skipping PenaltyRelaxation

**URL:** <https://discourse.julialang.org/t/meaning-of-warning-skipping-penaltyrelaxation/92703>\
**Category:** Optimization (Mathematical)\
**Tags:** jump\
**Created:** [January 9, 2023, 9:36am UTC](https://discourse.julialang.org/t/meaning-of-warning-skipping-penaltyrelaxation/92703 "2023-01-09T09:36:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![floswald](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/floswald/32/195_2.png) [@floswald](https://discourse.julialang.org/u/floswald)\
**Post date:** [January 9, 2023, 9:36am UTC](https://discourse.julialang.org/t/meaning-of-warning-skipping-penaltyrelaxation/92703/1 "2023-01-09T09:36:31Z")

</div>

what is the meaning of the warning in the example [here](https://jump.dev/JuMP.jl/v1.6/tutorials/getting_started/debugging/#Debugging-an-infeasible-model):

```julia
julia> map = relax_with_penalty!(model)
┌ Warning: Skipping PenaltyRelaxation for ConstraintIndex{MathOptInterface.VariableIndex,MathOptInterface.GreaterThan{Float64}}
└ @ MathOptInterface.Utilities ~/.julia/packages/MathOptInterface/3gomH/src/Utilities/penalty_relaxation.jl:289
Dict{ConstraintRef{Model, MathOptInterface.ConstraintIndex{MathOptInterface.ScalarAffineFunction{Float64}, MathOptInterface.LessThan{Float64}}, ScalarShape}, AffExpr} with 1 entry:
  con : 2 x - _[2] ≤ -1.0 => _[2]

```

I can see in the example that relaxing the problem makes it feasible. so what is being skipped here? thanks

---

<div class="post-metadata">

**Author:** ![miles.lubin](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/miles.lubin/32/279_2.png) [@miles.lubin](https://discourse.julialang.org/u/miles.lubin)\
**Post date:** [January 9, 2023, 12:28pm UTC](https://discourse.julialang.org/t/meaning-of-warning-skipping-penaltyrelaxation/92703/2 "2023-01-09T12:28:38Z")

</div>

The variable bounds are being skipped:

```julia
 @variable(model, x >= 0)

```

---

<div class="post-metadata">

**Author:** ![floswald](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/floswald/32/195_2.png) [@floswald](https://discourse.julialang.org/u/floswald)\
**Post date:** [January 9, 2023, 12:29pm UTC](https://discourse.julialang.org/t/meaning-of-warning-skipping-penaltyrelaxation/92703/3 "2023-01-09T12:29:25Z")

</div>

Great thanks
