| MATLAB Central > MATLAB Newsreader > simple optimzation function syntax question |
|
|
|
Subject: simple optimzation function syntax question From: Marco Wu Date: 30 Sep, 2011 20:22:10 Message: 1 of 5 |
|
Dear all, |
|
Subject: simple optimzation function syntax question From: Matt J Date: 1 Oct, 2011 02:17:15 Message: 2 of 5 |
|
"Marco Wu" wrote in message <j658dh$5v1$1@newscl01ah.mathworks.com>... |
|
Subject: simple optimzation function syntax question From: Matt J Date: 1 Oct, 2011 02:18:30 Message: 3 of 5 |
|
"Marco Wu" wrote in message <j658dh$5v1$1@newscl01ah.mathworks.com>... |
|
Subject: simple optimzation function syntax question From: Marco Wu Date: 1 Oct, 2011 03:05:25 Message: 4 of 5 |
|
Actually, I need the information of a local variable TEMPVALUE from the " [c, ceq] = pulley4constraint(z)" because if the 'z' is feasible solution, the function pulley4cost could be calculated as TEMPVALUE*constant. DO you think that I can use a GLOBAL variable for TEMPVALUE to pass the information across two functions? If I can past the information across function, the function "pulley4cost" does not need to run through the exact same long for loop in the pulley4constraint(z). |
|
Subject: simple optimzation function syntax question From: Matt J Date: 1 Oct, 2011 03:17:29 Message: 5 of 5 |
|
"Marco Wu" wrote in message <j6601l$ojs$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.
| Tag Activity for This Thread | ||
|---|---|---|
| Tag | Applied By | Date/Time |
| optimization | Marco Wu | 30 Sep, 2011 16:24:11 |
| syntax | Marco Wu | 30 Sep, 2011 16:24:11 |
| code | Marco Wu | 30 Sep, 2011 16:24:11 |
