# JuMP docs on SDP replace \`logdet\` with \`tr\`—is this correct?

**URL:** <https://discourse.julialang.org/t/jump-docs-on-sdp-replace-logdet-with-tr-is-this-correct/79324>\
**Category:** Optimization (Mathematical)\
**Created:** [April 11, 2022, 2:52am UTC](https://discourse.julialang.org/t/jump-docs-on-sdp-replace-logdet-with-tr-is-this-correct/79324 "2022-04-11T02:52:22Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jd-foster](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jd-foster/32/35824_2.png) [@jd-foster](https://discourse.julialang.org/u/jd-foster)\
**Post date:** [April 11, 2022, 3:39am UTC](https://discourse.julialang.org/t/jump-docs-on-sdp-replace-logdet-with-tr-is-this-correct/79324/2 "2022-04-11T03:39:18Z")

</div>

See here too:

> [@Log determinant objective](https://discourse.julialang.org/t/log-determinant-objective/23927/6):
>
> How does one use this? Here’s an example, but it isn’t supported by Ipopt or NLopt, you’ll need to reformulate your entire problem as a conic optimization problem and use a solver like Mosek or SCS. [https://jump.dev/MathOptInterface.jl/stable/reference/standard\_form/#MathOptInterface.LogDetConeSquare](https://jump.dev/MathOptInterface.jl/stable/reference/standard_form/#MathOptInterface.LogDetConeSquare) # max log(det(x)) # # is equivalent to # max t # s.t. t \<= log(det(X)) model = Model() @variable(model, X[1:3, 1:3]) @variable(model, t) @constraint(model, [t; 1; vec(X)] in MOI.LogDetConeSqua…

---

_[View the full topic](https://discourse.julialang.org/t/jump-docs-on-sdp-replace-logdet-with-tr-is-this-correct/79324)._
