# Julia 0.7 and JuMP: ERROR: cosd is not defined for type Variable

**URL:** <https://discourse.julialang.org/t/julia-0-7-and-jump-error-cosd-is-not-defined-for-type-variable/13296>\
**Category:** General Usage\
**Tags:** jump\
**Created:** [August 12, 2018, 1:50pm UTC](https://discourse.julialang.org/t/julia-0-7-and-jump-error-cosd-is-not-defined-for-type-variable/13296 "2018-08-12T13:50:06Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![tkoolen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tkoolen/32/1603_2.png) [@tkoolen](https://discourse.julialang.org/u/tkoolen)\
**Post date:** [August 12, 2018, 9:33pm UTC](https://discourse.julialang.org/t/julia-0-7-and-jump-error-cosd-is-not-defined-for-type-variable/13296/5 "2018-08-12T21:33:04Z")

</div>

For JuMP, you probably want

```julia
pkg> add JuMP#release-0.18
pkg> add ReverseDiffSparse#master

```

unless you also want the backend changes and API changes (e.g., `solver` kwarg will become `optimizer`) that will be present in JuMP 0.19.

That said, I still get the same error minus the depwarns.

---

_[View the full topic](https://discourse.julialang.org/t/julia-0-7-and-jump-error-cosd-is-not-defined-for-type-variable/13296)._
