summaryrefslogtreecommitdiff
path: root/demos/fminunc.dem.sce
diff options
context:
space:
mode:
authorHarpreet2016-01-29 16:38:03 +0530
committerHarpreet2016-01-29 16:38:03 +0530
commitf7c5cbc61d5b52c749824298cfa39a95db2d879c (patch)
tree27aafcca0159b7b3bb2926ff3a9c6c25834980d2 /demos/fminunc.dem.sce
parent2db803c34c6df02379ec88df3a7aa186700d9fbf (diff)
downloadsymphony-f7c5cbc61d5b52c749824298cfa39a95db2d879c.tar.gz
symphony-f7c5cbc61d5b52c749824298cfa39a95db2d879c.tar.bz2
symphony-f7c5cbc61d5b52c749824298cfa39a95db2d879c.zip
linprog general tests added
Diffstat (limited to 'demos/fminunc.dem.sce')
-rw-r--r--demos/fminunc.dem.sce2
1 files changed, 2 insertions, 0 deletions
diff --git a/demos/fminunc.dem.sce b/demos/fminunc.dem.sce
index 80eed72..a43603e 100644
--- a/demos/fminunc.dem.sce
+++ b/demos/fminunc.dem.sce
@@ -23,6 +23,7 @@ endfunction
options=list("MaxIter", [1500], "CpuTime", [500], "Gradient", fGrad, "Hessian", fHess);
//Calling Ipopt
[xopt,fopt,exitflag,output,gradient,hessian]=fminunc(f,x0,options)
+// Press ENTER to continue
halt() // Press return to continue
//Find x in R^2 such that the below function is minimum
@@ -35,6 +36,7 @@ endfunction
x0=[2,1];
//Calling Ipopt
[xopt,fopt]=fminunc(f,x0)
+// Press ENTER to continue
halt() // Press return to continue
//The below problem is an unbounded problem: