# Optimizing a function with constraints in NLopt (want a different expression returned than optimized)

**URL:** https://discourse.julialang.org/t/optimizing-a-function-with-constraints-in-nlopt-want-a-different-expression-returned-than-optimized/23916
**Category:** Optimization (Mathematical)
**Created:** [May 6, 2019, 3:14pm UTC](https://discourse.julialang.org/t/optimizing-a-function-with-constraints-in-nlopt-want-a-different-expression-returned-than-optimized/23916 "2019-05-06T15:14:24Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![odow](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/odow/32/28685_2.png) [@odow](https://discourse.julialang.org/u/odow)
#### Post date: [May 6, 2019, 3:52pm UTC](https://discourse.julialang.org/t/optimizing-a-function-with-constraints-in-nlopt-want-a-different-expression-returned-than-optimized/23916/2 "2019-05-06T15:52:50Z")

</div>

Please read [Please read: make it easier to help you](https://discourse.julialang.org/t/psa-make-it-easier-to-help-you/14757) and provide a minimum working example.

---

_[View the full topic](https://discourse.julialang.org/t/optimizing-a-function-with-constraints-in-nlopt-want-a-different-expression-returned-than-optimized/23916)._
