├── .gitignore ├── LICENSE ├── README.md ├── src ├── @scopt2 │ ├── adaptTrustRegion.m │ ├── computeAugmentedObjectiveFunctionTerms.m │ ├── computeAugmentedObjectiveFunctions.m │ ├── computeConvergenceHistory.m │ ├── computeDirectionalDerivative.m │ ├── computeMeritFunction.m │ ├── computeNewPoint.m │ ├── computeObjectiveFunctions.m │ ├── computeObjectiveFunctionsNormal.m │ ├── computePenaltiesVirtualControls.m │ ├── computeRegularisation.m │ ├── evaluateSufficientDecrease.m │ ├── generateFigures.m │ ├── plotAdaptiveTrustRegionMonitor.m │ ├── plotConvergenceHistory.m │ ├── plotNonZeroEntries.m │ ├── plotNonZeroEntriesAB.m │ ├── plotRealObjective.m │ ├── plotSolutionMatrices.m │ ├── plotTime.m │ ├── plotTrustRegionErrorHistory.m │ ├── plotTrustRegionHistory.m │ ├── plotVerificationDefectConstraints.m │ ├── plotVirtualBuffersErrorHistory.m │ ├── plotVirtualBuffersHistory.m │ ├── plotVirtualControlErrorHistory.m │ ├── plotVirtualControlHistory.m │ ├── problemTranscription.m │ ├── scaleControlsToNormalized.m │ ├── scaleControlsToReal.m │ ├── scaleStatesToNormalized.m │ ├── scaleStatesToReal.m │ ├── scaleTimeToNormalized.m │ ├── scaleTimeToReal.m │ ├── scopt2.m │ ├── scoptSave2pdf.m │ ├── setUpSCOPT_level1.m │ ├── setUpSCOPT_level2.m │ ├── solveSCOPTProblem.m │ ├── solveSOCPProblem.m │ └── terminationVariableConvergence.m └── toolbox │ └── goldenSection │ ├── costFun_convex1D.m │ ├── goldenSection.m │ └── goldenSectionTest.m └── test ├── .gitignore ├── quadRotor3D ├── controlMatrixQuadrotor3D.m ├── noFlyZone.m ├── stateDerivativeQuadrotor3D.m ├── stateMatrixQuadrotor3D.m └── unitTest_quadrotor3D.m ├── rocketLanding ├── bodyMap │ ├── aerodynamicModel │ │ └── aerodynamicModel.m │ ├── atmosphereModel │ │ ├── USSA1976Until130kmASTOS_HD.txt │ │ ├── atmosphereModel.m │ │ ├── atmosphereModelValidation.m │ │ └── atmosusa76.m │ ├── bodyMap.m │ ├── gravityModel │ │ └── gravityModel.m │ ├── massModel │ │ └── massModel.m │ ├── orientationModel │ │ └── orientationModel.m │ └── thrustModel │ │ └── thrustModel.m ├── dynamics │ ├── controlMatrixRocketLandingFull.m │ ├── controlMatrixSolutionRocketLandingFull.m │ ├── stateDerivativeRocketLanding.m │ ├── stateDerivativeSolutionRocketLanding.m │ ├── stateMatrixRocketLandingFull.m │ ├── stateMatrixSolutionRocketLandingFull.m │ └── timeDerivativeSolutionRocketLanding.m ├── unitTest_rocketLanding_3dofAcikmeseAlternative.m ├── unitTest_rocketLanding_3dofAcikmeseDetailedEnvironment.m ├── unitTest_rocketLanding_3dofAcikmeseFixTimeVerification.m └── unitTest_rocketLanding_3dofSzmuk.m └── spacecraftLanding ├── controlMatrixSpacecraft.m ├── stateDerivativeSpacecraft.m ├── stateMatrixSpacecraft.m └── unitTest_spacecraftLanding.m /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/README.md -------------------------------------------------------------------------------- /src/@scopt2/adaptTrustRegion.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/adaptTrustRegion.m -------------------------------------------------------------------------------- /src/@scopt2/computeAugmentedObjectiveFunctionTerms.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/computeAugmentedObjectiveFunctionTerms.m -------------------------------------------------------------------------------- /src/@scopt2/computeAugmentedObjectiveFunctions.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/computeAugmentedObjectiveFunctions.m -------------------------------------------------------------------------------- /src/@scopt2/computeConvergenceHistory.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/computeConvergenceHistory.m -------------------------------------------------------------------------------- /src/@scopt2/computeDirectionalDerivative.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/computeDirectionalDerivative.m -------------------------------------------------------------------------------- /src/@scopt2/computeMeritFunction.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/computeMeritFunction.m -------------------------------------------------------------------------------- /src/@scopt2/computeNewPoint.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/computeNewPoint.m -------------------------------------------------------------------------------- /src/@scopt2/computeObjectiveFunctions.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/computeObjectiveFunctions.m -------------------------------------------------------------------------------- /src/@scopt2/computeObjectiveFunctionsNormal.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/computeObjectiveFunctionsNormal.m -------------------------------------------------------------------------------- /src/@scopt2/computePenaltiesVirtualControls.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/computePenaltiesVirtualControls.m -------------------------------------------------------------------------------- /src/@scopt2/computeRegularisation.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/computeRegularisation.m -------------------------------------------------------------------------------- /src/@scopt2/evaluateSufficientDecrease.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/evaluateSufficientDecrease.m -------------------------------------------------------------------------------- /src/@scopt2/generateFigures.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/generateFigures.m -------------------------------------------------------------------------------- /src/@scopt2/plotAdaptiveTrustRegionMonitor.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/plotAdaptiveTrustRegionMonitor.m -------------------------------------------------------------------------------- /src/@scopt2/plotConvergenceHistory.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/plotConvergenceHistory.m -------------------------------------------------------------------------------- /src/@scopt2/plotNonZeroEntries.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/plotNonZeroEntries.m -------------------------------------------------------------------------------- /src/@scopt2/plotNonZeroEntriesAB.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/plotNonZeroEntriesAB.m -------------------------------------------------------------------------------- /src/@scopt2/plotRealObjective.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/plotRealObjective.m -------------------------------------------------------------------------------- /src/@scopt2/plotSolutionMatrices.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/plotSolutionMatrices.m -------------------------------------------------------------------------------- /src/@scopt2/plotTime.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/plotTime.m -------------------------------------------------------------------------------- /src/@scopt2/plotTrustRegionErrorHistory.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/plotTrustRegionErrorHistory.m -------------------------------------------------------------------------------- /src/@scopt2/plotTrustRegionHistory.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/plotTrustRegionHistory.m -------------------------------------------------------------------------------- /src/@scopt2/plotVerificationDefectConstraints.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/plotVerificationDefectConstraints.m -------------------------------------------------------------------------------- /src/@scopt2/plotVirtualBuffersErrorHistory.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/plotVirtualBuffersErrorHistory.m -------------------------------------------------------------------------------- /src/@scopt2/plotVirtualBuffersHistory.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/plotVirtualBuffersHistory.m -------------------------------------------------------------------------------- /src/@scopt2/plotVirtualControlErrorHistory.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/plotVirtualControlErrorHistory.m -------------------------------------------------------------------------------- /src/@scopt2/plotVirtualControlHistory.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/plotVirtualControlHistory.m -------------------------------------------------------------------------------- /src/@scopt2/problemTranscription.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/problemTranscription.m -------------------------------------------------------------------------------- /src/@scopt2/scaleControlsToNormalized.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/scaleControlsToNormalized.m -------------------------------------------------------------------------------- /src/@scopt2/scaleControlsToReal.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/scaleControlsToReal.m -------------------------------------------------------------------------------- /src/@scopt2/scaleStatesToNormalized.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/scaleStatesToNormalized.m -------------------------------------------------------------------------------- /src/@scopt2/scaleStatesToReal.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/scaleStatesToReal.m -------------------------------------------------------------------------------- /src/@scopt2/scaleTimeToNormalized.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/scaleTimeToNormalized.m -------------------------------------------------------------------------------- /src/@scopt2/scaleTimeToReal.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/scaleTimeToReal.m -------------------------------------------------------------------------------- /src/@scopt2/scopt2.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/scopt2.m -------------------------------------------------------------------------------- /src/@scopt2/scoptSave2pdf.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/scoptSave2pdf.m -------------------------------------------------------------------------------- /src/@scopt2/setUpSCOPT_level1.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/setUpSCOPT_level1.m -------------------------------------------------------------------------------- /src/@scopt2/setUpSCOPT_level2.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/setUpSCOPT_level2.m -------------------------------------------------------------------------------- /src/@scopt2/solveSCOPTProblem.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/solveSCOPTProblem.m -------------------------------------------------------------------------------- /src/@scopt2/solveSOCPProblem.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/solveSOCPProblem.m -------------------------------------------------------------------------------- /src/@scopt2/terminationVariableConvergence.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/@scopt2/terminationVariableConvergence.m -------------------------------------------------------------------------------- /src/toolbox/goldenSection/costFun_convex1D.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/toolbox/goldenSection/costFun_convex1D.m -------------------------------------------------------------------------------- /src/toolbox/goldenSection/goldenSection.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/toolbox/goldenSection/goldenSection.m -------------------------------------------------------------------------------- /src/toolbox/goldenSection/goldenSectionTest.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/src/toolbox/goldenSection/goldenSectionTest.m -------------------------------------------------------------------------------- /test/.gitignore: -------------------------------------------------------------------------------- 1 | /rocketLandingOld// 2 | -------------------------------------------------------------------------------- /test/quadRotor3D/controlMatrixQuadrotor3D.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/test/quadRotor3D/controlMatrixQuadrotor3D.m -------------------------------------------------------------------------------- /test/quadRotor3D/noFlyZone.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/test/quadRotor3D/noFlyZone.m -------------------------------------------------------------------------------- /test/quadRotor3D/stateDerivativeQuadrotor3D.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/test/quadRotor3D/stateDerivativeQuadrotor3D.m -------------------------------------------------------------------------------- /test/quadRotor3D/stateMatrixQuadrotor3D.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/test/quadRotor3D/stateMatrixQuadrotor3D.m -------------------------------------------------------------------------------- /test/quadRotor3D/unitTest_quadrotor3D.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/test/quadRotor3D/unitTest_quadrotor3D.m -------------------------------------------------------------------------------- /test/rocketLanding/bodyMap/aerodynamicModel/aerodynamicModel.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/test/rocketLanding/bodyMap/aerodynamicModel/aerodynamicModel.m -------------------------------------------------------------------------------- /test/rocketLanding/bodyMap/atmosphereModel/USSA1976Until130kmASTOS_HD.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/test/rocketLanding/bodyMap/atmosphereModel/USSA1976Until130kmASTOS_HD.txt -------------------------------------------------------------------------------- /test/rocketLanding/bodyMap/atmosphereModel/atmosphereModel.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/test/rocketLanding/bodyMap/atmosphereModel/atmosphereModel.m -------------------------------------------------------------------------------- /test/rocketLanding/bodyMap/atmosphereModel/atmosphereModelValidation.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/test/rocketLanding/bodyMap/atmosphereModel/atmosphereModelValidation.m -------------------------------------------------------------------------------- /test/rocketLanding/bodyMap/atmosphereModel/atmosusa76.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/test/rocketLanding/bodyMap/atmosphereModel/atmosusa76.m -------------------------------------------------------------------------------- /test/rocketLanding/bodyMap/bodyMap.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/test/rocketLanding/bodyMap/bodyMap.m -------------------------------------------------------------------------------- /test/rocketLanding/bodyMap/gravityModel/gravityModel.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/test/rocketLanding/bodyMap/gravityModel/gravityModel.m -------------------------------------------------------------------------------- /test/rocketLanding/bodyMap/massModel/massModel.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/test/rocketLanding/bodyMap/massModel/massModel.m -------------------------------------------------------------------------------- /test/rocketLanding/bodyMap/orientationModel/orientationModel.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/test/rocketLanding/bodyMap/orientationModel/orientationModel.m -------------------------------------------------------------------------------- /test/rocketLanding/bodyMap/thrustModel/thrustModel.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/test/rocketLanding/bodyMap/thrustModel/thrustModel.m -------------------------------------------------------------------------------- /test/rocketLanding/dynamics/controlMatrixRocketLandingFull.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/test/rocketLanding/dynamics/controlMatrixRocketLandingFull.m -------------------------------------------------------------------------------- /test/rocketLanding/dynamics/controlMatrixSolutionRocketLandingFull.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/test/rocketLanding/dynamics/controlMatrixSolutionRocketLandingFull.m -------------------------------------------------------------------------------- /test/rocketLanding/dynamics/stateDerivativeRocketLanding.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/test/rocketLanding/dynamics/stateDerivativeRocketLanding.m -------------------------------------------------------------------------------- /test/rocketLanding/dynamics/stateDerivativeSolutionRocketLanding.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/test/rocketLanding/dynamics/stateDerivativeSolutionRocketLanding.m -------------------------------------------------------------------------------- /test/rocketLanding/dynamics/stateMatrixRocketLandingFull.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/test/rocketLanding/dynamics/stateMatrixRocketLandingFull.m -------------------------------------------------------------------------------- /test/rocketLanding/dynamics/stateMatrixSolutionRocketLandingFull.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/test/rocketLanding/dynamics/stateMatrixSolutionRocketLandingFull.m -------------------------------------------------------------------------------- /test/rocketLanding/dynamics/timeDerivativeSolutionRocketLanding.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/test/rocketLanding/dynamics/timeDerivativeSolutionRocketLanding.m -------------------------------------------------------------------------------- /test/rocketLanding/unitTest_rocketLanding_3dofAcikmeseAlternative.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/test/rocketLanding/unitTest_rocketLanding_3dofAcikmeseAlternative.m -------------------------------------------------------------------------------- /test/rocketLanding/unitTest_rocketLanding_3dofAcikmeseDetailedEnvironment.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/test/rocketLanding/unitTest_rocketLanding_3dofAcikmeseDetailedEnvironment.m -------------------------------------------------------------------------------- /test/rocketLanding/unitTest_rocketLanding_3dofAcikmeseFixTimeVerification.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/test/rocketLanding/unitTest_rocketLanding_3dofAcikmeseFixTimeVerification.m -------------------------------------------------------------------------------- /test/rocketLanding/unitTest_rocketLanding_3dofSzmuk.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/test/rocketLanding/unitTest_rocketLanding_3dofSzmuk.m -------------------------------------------------------------------------------- /test/spacecraftLanding/controlMatrixSpacecraft.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/test/spacecraftLanding/controlMatrixSpacecraft.m -------------------------------------------------------------------------------- /test/spacecraftLanding/stateDerivativeSpacecraft.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/test/spacecraftLanding/stateDerivativeSpacecraft.m -------------------------------------------------------------------------------- /test/spacecraftLanding/stateMatrixSpacecraft.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/test/spacecraftLanding/stateMatrixSpacecraft.m -------------------------------------------------------------------------------- /test/spacecraftLanding/unitTest_spacecraftLanding.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidoca/scopt2/HEAD/test/spacecraftLanding/unitTest_spacecraftLanding.m --------------------------------------------------------------------------------