MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayNew to MATLAB?
MATLAB Central > MATLAB Newsreader > fmincon's problems in sharing variables between fu... 

Subject: fmincon's problems in sharing variables between functions of objective and nonlinear constrains From: Ken Lai Date: 9 Jan, 2010 14:39:03 Message: 1 of 14 
To solve a constrainted nonlinear programming problem, with both objective (function) and nonlinear constraints (function) using the same result from the same computation on optimized variables, e.g. the nonlinear constraints is the maximum value of objective. In order to avoid performing the same computation on optimized variables twices, it is deisred to share the resultant varialbes between objective and nonlinear constraint. 
Subject: fmincon's problems in sharing variables between functions of objective and nonlinear constrains From: Matt J Date: 9 Jan, 2010 15:18:03 Message: 2 of 14 
"Ken Lai" <c.k.lai@cranfield.ac.uk> wrote in message <hia4e7$spj$1@fred.mathworks.com>... 
Subject: fmincon's problems in sharing variables between functions of objective and nonlinear constrains From: Matt J Date: 9 Jan, 2010 18:01:05 Message: 3 of 14 
"Matt J " <mattjacREMOVE@THISieee.spam> wrote in message <hia6nb$n1n$1@fred.mathworks.com>... 
Subject: fmincon's problems in sharing variables between functions of objective and nonlinear constrains From: Ken Lai Date: 9 Jan, 2010 20:00:06 Message: 4 of 14 
"Matt J " <mattjacREMOVE@THISieee.spam> wrote in message <hiag90$5gg$1@fred.mathworks.com>... 
Subject: fmincon's problems in sharing variables between functions of objective and nonlinear constrains From: John Date: 15 Jun, 2011 18:38:04 Message: 5 of 14 
"Matt J" wrote in message <hia6nb$n1n$1@fred.mathworks.com>... 
Subject: fmincon's problems in sharing variables between functions of objective and nonlinear constrains From: Matt J Date: 15 Jun, 2011 20:18:04 Message: 6 of 14 

Subject: fmincon's problems in sharing variables between functions of objective and nonlinear constrains From: John Date: 15 Jun, 2011 20:26:03 Message: 7 of 14 
"Matt J" wrote in message <itb41s$oqe$1@newscl01ah.mathworks.com>... 
Subject: fmincon's problems in sharing variables between functions of objective and nonlinear constrains From: John Date: 15 Jun, 2011 20:40:19 Message: 8 of 14 
Ok, if I sound stupid, it's because I'm an amateur. In your above post, you have: 
Subject: fmincon's problems in sharing variables between functions of objective and nonlinear constrains From: Matt J Date: 16 Jun, 2011 01:43:02 Message: 9 of 14 
"John " <johnps@gmail.com> wrote in message <itb5bj$sng$1@newscl01ah.mathworks.com>... 
Subject: fmincon's problems in sharing variables between functions of objective and nonlinear constrains From: John Date: 16 Jun, 2011 14:20:20 Message: 10 of 14 
"Matt J" wrote in message <itbn36$cod$1@newscl01ah.mathworks.com>... 
Subject: fmincon's problems in sharing variables between functions of objective and nonlinear constrains From: Sargondjani Date: 4 Apr, 2012 07:27:18 Message: 11 of 14 
Matt, you are a king!! This is ace.... really, just what I needed. 
Subject: fmincon's problems in sharing variables between functions of objective and nonlinear constrains From: Matt J Date: 4 Apr, 2012 13:37:10 Message: 12 of 14 
"Sargondjani" wrote in message <jlgt4m$dgt$1@newscl01ah.mathworks.com>... 
Subject: fmincon's problems in sharing variables between functions of objective and nonlinear constrains From: hadi Date: 24 May, 2012 11:37:07 Message: 13 of 14 
"Matt J" wrote in message <jlhiq6$ga$1@newscl01ah.mathworks.com>... 
Subject: fmincon's problems in sharing variables between functions of objective and nonlinear constrains From: Matt J Date: 24 May, 2012 13:42:07 Message: 14 of 14 
"hadi " <hadisengin@yahoo.co.uk> wrote in message <jpl6h3$j3l$1@newscl01ah.mathworks.com>... 
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.