studentSnopt
所属分类:matlab编程
开发工具:Visual C++
文件大小:2718KB
下载次数:93
上传日期:2014-09-13 22:13:46
上 传 者:
matlabomg
说明: matlab snopt 学生版,求解大规模非线性规划问题
(matlab snopt Student Edition, for solving large-scale nonlinear programming problem)
文件列表:
studentSnopt (0, 2013-06-16)
studentSnopt\.#snoptcmex.mexa64.1.2 (1141666, 2010-12-31)
studentSnopt\.cvsignore (15, 2010-12-31)
studentSnopt\Contents.m (3630, 2010-12-31)
studentSnopt\CVS (0, 2013-06-16)
studentSnopt\CVS\Entries (1365, 2013-06-16)
studentSnopt\CVS\Repository (29, 2013-06-15)
studentSnopt\CVS\Root (54, 2013-06-15)
studentSnopt\examples (0, 2013-06-15)
studentSnopt\examples\.cvsignore (17, 2010-12-31)
studentSnopt\examples\CVS (0, 2013-06-16)
studentSnopt\examples\CVS\Entries (98, 2013-06-16)
studentSnopt\examples\CVS\Repository (38, 2013-06-15)
studentSnopt\examples\CVS\Root (54, 2013-06-15)
studentSnopt\examples\hsmain (0, 2013-06-15)
studentSnopt\examples\hsmain\CVS (0, 2013-06-15)
studentSnopt\examples\hsmain\CVS\Entries (145, 2013-06-15)
studentSnopt\examples\hsmain\CVS\Repository (45, 2013-06-15)
studentSnopt\examples\hsmain\CVS\Root (54, 2013-06-15)
studentSnopt\examples\hsmain\hsmain.m (3426, 2010-12-31)
studentSnopt\examples\hsmain\hsmain.spc (519, 2010-12-31)
studentSnopt\examples\hsmain\hsmainusrfun.m (899, 2010-12-31)
studentSnopt\examples\snmain (0, 2013-06-15)
studentSnopt\examples\snmain\CVS (0, 2013-06-15)
studentSnopt\examples\snmain\CVS\Entries (610, 2013-06-15)
studentSnopt\examples\snmain\CVS\Repository (45, 2013-06-15)
studentSnopt\examples\snmain\CVS\Root (54, 2013-06-15)
studentSnopt\examples\snmain\snoptmain.m (2279, 2010-12-31)
studentSnopt\examples\snmain\snoptmain.spc (215, 2010-12-31)
studentSnopt\examples\snmain\snoptmain2.m (2581, 2010-12-31)
studentSnopt\examples\snmain\snoptmain2.spc (255, 2010-12-31)
studentSnopt\examples\snmain\snoptmain3.m (3643, 2010-12-31)
studentSnopt\examples\snmain\snoptmain3.spc (217, 2010-12-31)
studentSnopt\examples\snmain\snoptuserfun.m (836, 2010-12-31)
studentSnopt\examples\snmain\snoptuserfun2.m (2957, 2010-12-31)
studentSnopt\examples\snmain\snoptuserfun3.m (2797, 2010-12-31)
studentSnopt\examples\snmain\snsolvemain.m (5124, 2010-12-31)
studentSnopt\examples\snmain\snsolvemain.spc (263, 2010-12-31)
studentSnopt\examples\snmain\snsolveuserfun.m (2707, 2010-12-31)
studentSnopt\examples\sntoy (0, 2013-06-15)
... ...
Using the SNOPT mex Files Philip Gill, UCSD June 14 2013
========================= Elizabeth Wong
Run Matlab in the folder studentVersions
Typing
>> more on
>> help Contents
from Matlab provides an overview of the package.
At the Matlab prompt, type
>> runAllExamples
This script sets the appropriate matlab path.
The subdirectory ./examples contains various sample problems
that demonstrate how to use the snOpt Matlab interfaces. Read
the in-line help information for each m-file for more
information.
To run the individual m-files type
>> setpath % if you haven't already called runAllExamples
>> addpath examples
>> addpath examples/snmain
>> snoptmain
The are three different ways to call snopt:
[x,F,INFO] = snopt(x,xlow,xupp,Flow,Fupp,'MySimplestFun');
[x,F,INFO] = snopt(x,xlow,xupp,Flow,Fupp,'MyLessSimpleFun', ...
A, iAfun, jAvar, iGfun, jGvar);
[x,F,xmul,Fmul,INFO]= snsolve( x,xlow,xupp,xmul,xstate, ...
Flow,Fupp,Fmul,Fstate, ...
ObjAdd,ObjRow,A,iAfun,jAvar,...
iGfun,jGvar,'MyGeneralFun');
If you provide the derivatives of your problem functions be sure to check them
first using the command:
>> snseti('Verify level', 3);
BOTTOM LINE: The more information you give, the FASTER and MORE RELIABLE the solve.
------------ (the LONGER THE ARGUMENT LIST, the FASTER and MORE RELIABLE the solve)
近期下载者:
相关文件:
收藏者: