Group Abstract Group Abstract

Message Boards Message Boards

1
|
8.2K Views
|
2 Replies
|
2 Total Likes
View groups...
Share
Share this post:

How do I use a function as a constraint for NMinimize?

Posted 12 years ago

Hi. Im having a problem when using the EigenValue and SingularValueList functions, as a constraint for NMinimize. I have built a function that works fine and return a solution fast with now seemingly problems - actually I've tried many other ways of programming this simple function as well. The problem is that the NMinimize function evaluate the function in a way that causes Imaginary part of the polynomial - which is not supposed to happen if you first apply numerical values.

The code is in the attached file. Thanks for the help :)

Attachments:
POSTED BY: Alon Ohev-Zion
2 Replies
POSTED BY: Daniel Lichtblau
Posted 12 years ago
POSTED BY: Alon Ohev-Zion
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard