Solved

Add more constraints to fmincon

Posted on 2010-11-18
8
728 Views
Last Modified: 2013-11-25
How do I add more constraints to fmincon?  For example, I want to add:

f >= y
f >= -y

on top of what I've defined for Aeq, beq, c, ceq, lb, an ub.  Thanks.
0
Comment
Question by:SpartanValor
  • 3
8 Comments
 
LVL 37

Accepted Solution

by:
TommySzalapski earned 500 total points
Comment Utility
Just do f = fmincon(blahblah)
if(f < abs(y)) f = abs(y);
0
 
LVL 37

Expert Comment

by:TommySzalapski
Comment Utility
If my solution did it fact answer the question, please accept it instead of closing it. You didn't respond for well over a month so I assumed you had the answer you needed.
0
 
LVL 37

Expert Comment

by:TommySzalapski
Comment Utility
http:#a34171098 answered the question as far as I can tell.
0
 
LVL 15

Expert Comment

by:yuk99
Comment Utility
I would accept the Tommy's answer if there is no complains from the author.
0
 

Expert Comment

by:_alias99
Comment Utility
All,
 
Following an 'Objection' by TommySzalapski (at http://www.experts-exchange.com/Q_26745212.html) to the intended closure of this question, it has been reviewed by at least one Moderator and is being closed as recommended by the Expert.
 
At this point I am going to re-start the auto-close procedure.
 
Thank you,
 
_alias99
Community Support Moderator
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Navigation is an important part of web design from a usability perspective. But it is often a pain when it comes to a developer’s perspective. By navigation, it often means menuing. This is less theory and more practical of how to get a specific gro…
This article will show, step by step, how to integrate R code into a R Sweave document
The viewer will learn how to implement Singleton Design Pattern in Java.
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now