The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Preventing negative values in fmincon
Replies: 10   Last Post: May 28, 2008 12:03 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
John D'Errico

Posts: 9,130
Registered: 12/7/04
Re: Preventing negative values in fmincon
Posted: May 23, 2008 1:42 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Mike " <> wrote in message
> Ok, I think it makes sense now. I'll give it a try and see
> what happens. You mentioned there are other transformations
> that can be used to enforce non-negativity; do you have a
> reference or document for those also?

Well, actually I was referring to dually bounded
problems, such as

a <= x <= b

Here a sin or sin^2 transformation is often used,
although I have occasionally employed an atan

Non-negativity can also be enforced using an
exponential. The problem here is it tends to
make the problem a bit nastily nonlinear.


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.