# Regression from JuMP 0.18 to 0.21

**URL:** https://discourse.julialang.org/t/regression-from-jump-0-18-to-0-21/35175
**Category:** Optimization (Mathematical)
**Created:** [February 26, 2020, 3:07pm UTC](https://discourse.julialang.org/t/regression-from-jump-0-18-to-0-21/35175 "2020-02-26T15:07:51Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Lukros](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lukros](https://discourse.julialang.org/u/Lukros)
#### Post date: [February 26, 2020, 3:07pm UTC](https://discourse.julialang.org/t/regression-from-jump-0-18-to-0-21/35175/1 "2020-02-26T15:07:51Z")

</div>

Hello,

I am updating some functions I coded on JuMP 0.18. There I made used of the next:

```julia
solve(model, relaxation = true)

```

In JuMP 0.21, I could not find a way to implement it using `optimize!(model)`.

Is there any generic way to do it?

---

<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: [February 26, 2020, 3:20pm UTC](https://discourse.julialang.org/t/regression-from-jump-0-18-to-0-21/35175/2 "2020-02-26T15:20:47Z")

</div>

Please see the workarounds at [Feature request: solve relaxation · Issue #1611 · jump-dev/JuMP.jl · GitHub](https://github.com/JuliaOpt/JuMP.jl/issues/1611).
