diff options
author | Harpreet | 2015-12-22 14:51:05 +0530 |
---|---|---|
committer | Harpreet | 2015-12-22 14:51:05 +0530 |
commit | 79583a44468943fad22ba1de2dd25dd86f7be167 (patch) | |
tree | 54db759a8f856424f0c2ebd7f5306ffb881afdac /demos/lsqlin.dem.sce | |
parent | e12c133c99beee5a8dd04d4f6e8c2d5e07148408 (diff) | |
download | FOSSEE-Optimization-toolbox-79583a44468943fad22ba1de2dd25dd86f7be167.tar.gz FOSSEE-Optimization-toolbox-79583a44468943fad22ba1de2dd25dd86f7be167.tar.bz2 FOSSEE-Optimization-toolbox-79583a44468943fad22ba1de2dd25dd86f7be167.zip |
Bugs by prof fixed 2
Diffstat (limited to 'demos/lsqlin.dem.sce')
-rw-r--r-- | demos/lsqlin.dem.sce | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/lsqlin.dem.sce b/demos/lsqlin.dem.sce index d417bf0..fb4bad9 100644 --- a/demos/lsqlin.dem.sce +++ b/demos/lsqlin.dem.sce @@ -21,8 +21,10 @@ b = [0.5251 0.2026 0.6721]; [xopt,resnorm,residual,exitflag,output,lambda] = lsqlin(C,d,A,b) +// Press ENTER to continue halt() // Press return to continue +//A basic example for equality, inequality and bounds C = [0.9501 0.7620 0.6153 0.4057 0.2311 0.4564 0.7919 0.9354 0.6068 0.0185 0.9218 0.9169 @@ -44,6 +46,4 @@ beq = 4; lb = -0.1*ones(4,1); ub = 2*ones(4,1); [xopt,resnorm,residual,exitflag,output,lambda] = lsqlin(C,d,A,b,Aeq,beq,lb,ub) -halt() // Press return to continue - //========= E N D === O F === D E M O =========// |