• 大小: 10.57MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-10-17
  • 语言: 其他
  • 标签: GPOPS  II  

资源简介

史上最牛逼的高斯伪普法优化程序GPOPS II,亲测可用!

资源截图

代码片段和文件信息


% optimalprimePathSetup
% this script adds the appropriate paths for use of optimalprime to the
% MATLAB path directory

% get current directory
currdir = pwd;

% add opRPMintegration/opRPMIsnopt/
disp([‘Adding path ‘pwd‘/lib/gpopsRPMIntegration/gpopsSnoptRPMI/‘]);
addpath([pwd‘/lib/gpopsRPMIntegration/gpopsSnoptRPMI/‘]‘-begin‘);

% add opRPMintegration/opRPMIipopt/
disp([‘Adding path ‘pwd‘/lib/gpopsRPMIntegration/gpopsIpoptRPMI/‘]);
addpath([pwd‘/lib/gpopsRPMIntegration/gpopsIpoptRPMI/‘]‘-begin‘);

% add opRPMintegration/
disp([‘Adding path ‘pwd‘/lib/gpopsRPMIntegration/‘]);
addpath([pwd‘/lib/gpopsRPMIntegration/‘]‘-begin‘);

% add opRPMdifferentiation/opRPMDsnopt/
disp([‘Adding path ‘pwd‘/lib/gpopsRPMDifferentiation/gpopsSnoptRPMD/‘]);
addpath([pwd‘/lib/gpopsRPMDifferentiation/gpopsSnoptRPMD/‘]‘-begin‘);

% add opRPMdifferentiation/opRPMDipopt/
disp([‘Adding path ‘pwd‘/lib/gpopsRPMDifferentiation/gpopsIpoptRPMD/‘]);
addpath([pwd‘/lib/gpopsRPMDifferentiation/gpopsIpoptRPMD/‘]‘-begin‘);

% add opRPMdifferentiation/
disp([‘Adding path ‘pwd‘/lib/gpopsRPMDifferentiation/‘]);
addpath([pwd‘/lib/gpopsRPMDifferentiation/‘]‘-begin‘);
% add opOCPfinitediff/
disp([‘Adding path ‘pwd‘/lib/gpopsFiniteDifference/‘]);
addpath([pwd‘/lib/gpopsFiniteDifference/‘]‘-begin‘);

% add opMeshHP1/
disp([‘Adding path ‘pwd‘/lib/gpopsMeshHP1/‘]);
addpath([pwd‘/lib/gpopsMeshHP1/‘]‘-begin‘);

% add opMeshHP/
disp([‘Adding path ‘pwd‘/lib/gpopsMeshHP/‘]);
addpath([pwd‘/lib/gpopsMeshHP/‘]‘-begin‘);

% add opCommon/
disp([‘Adding path ‘pwd‘/lib/gpopsCommon/‘]);
addpath([pwd‘/lib/gpopsCommon/‘]‘-begin‘);

% add NLP directory
disp([‘Adding path ‘pwd‘/nlp/‘]);
addpath([pwd‘/nlp/‘]‘-begin‘);

% add SNOPT directory
disp([‘Adding path ‘pwd‘/nlp/snopt/‘]);
addpath([pwd‘/nlp/snopt/‘]‘-begin‘);

% add IPOPT directory
disp([‘Adding path ‘pwd‘/nlp/ipopt/‘]);
addpath([pwd‘/nlp/ipopt/‘]‘-begin‘);

% save current path
savepath;

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        612  2013-01-02 20:14  GPOPS II\examples\brachistochone\brachistochroneContinuous.m

     文件        395  2013-01-02 20:14  GPOPS II\examples\brachistochone\brachistochroneEndpoint.m

     文件       4128  2013-01-03 14:06  GPOPS II\examples\brachistochone\brachistochroneMain.m

     文件        263  2012-12-26 23:13  GPOPS II\examples\BrysonDenham\BrysonDenhamContinuous.m

     文件        112  2012-12-26 23:13  GPOPS II\examples\BrysonDenham\BrysonDenhamEvents.m

     文件       2525  2012-12-27 18:52  GPOPS II\examples\BrysonDenham\BrysonDenhamMain.m

     文件       1847  2012-12-26 23:13  GPOPS II\examples\dynamicSoaring\dynamicSoaringContinuous.m

     文件        329  2012-12-26 23:13  GPOPS II\examples\dynamicSoaring\dynamicSoaringEndpoint.m

     文件       3814  2012-12-26 23:13  GPOPS II\examples\dynamicSoaring\dynamicSoaringMain.m

     文件       2050  2013-01-03 14:06  GPOPS II\examples\dynamicSoaring\dynamicSoaringPlot.m

     文件        428  2013-01-03 14:06  GPOPS II\examples\hyperSensitive\hyperSensitiveContinuous.m

     文件        314  2013-01-03 14:06  GPOPS II\examples\hyperSensitive\hyperSensitiveEndpoint.m

     文件       3099  2013-01-03 14:06  GPOPS II\examples\hyperSensitive\hyperSensitiveMain.m

     文件       1701  2013-01-03 14:06  GPOPS II\examples\hyperSensitive\hyperSensitivePlot.m

     文件       8326  2012-12-26 23:13  GPOPS II\examples\kineticBatchReactor\bettsPhase1.mat

     文件       3236  2013-01-03 14:00  GPOPS II\examples\kineticBatchReactor\kineticBatchReactorContinuous.m

     文件       2813  2013-01-03 13:59  GPOPS II\examples\kineticBatchReactor\kineticBatchReactorEndpoint.m

     文件      13692  2013-01-03 13:59  GPOPS II\examples\kineticBatchReactor\kineticBatchReactorMain.m

     文件       1721  2013-01-03 10:11  GPOPS II\examples\kineticBatchReactor\kineticBatchReactorPlot.m

     文件     231056  2012-12-26 23:13  GPOPS II\examples\kineticBatchReactor\RPMIoutput.mat

     文件     149531  2012-12-26 23:13  GPOPS II\examples\kineticBatchReactor\RPMoutput.mat

     文件       5274  2012-12-26 23:13  GPOPS II\examples\launch\launchContinuous.m

     文件       1877  2012-12-26 23:13  GPOPS II\examples\launch\launchEndpoint.m

     文件       1605  2012-12-26 23:13  GPOPS II\examples\launch\launchEvents.m

     文件      12161  2013-01-03 14:06  GPOPS II\examples\launch\launchMain.m

     文件        929  2012-12-26 23:13  GPOPS II\examples\launch\launchoe2rv.m

     文件       2714  2013-01-03 14:06  GPOPS II\examples\launch\launchPlot.m

     文件        980  2012-12-26 23:13  GPOPS II\examples\launch\launchrv2oe.m

     文件       2240  2012-12-26 23:13  GPOPS II\examples\minimumTimeToClimb\minimumTimeToClimbAeroData.mat

     文件        857  2012-12-26 23:13  GPOPS II\examples\minimumTimeToClimb\minimumTimeToClimbCompute.m

............此处省略296个文件信息

评论

共有 条评论