|
Autor |
SQP Verfahren in Matlab / Octave |
|
Delastelle
Senior  Dabei seit: 17.11.2006 Mitteilungen: 2519
 | Themenstart: 2020-12-17
|
Hallo Leute!
Ich wollte ein Matlab Programm in Octave umwandeln.
Mit dem Befehl SQP (SQP-Verfahren in Octave) aus fmincon (SQP-Verfahren in Matlab).
Was ist dabei zu beachten?
Vieleicht hat jemand ja sowas schon mal gemacht!
SQP = Sequentiell Quadratic Programming
Viele Grüße
Ronald
Edit: ein Beispiel, das in Octave läuft:
\sourceon Octave
function fun = f(x)
fun = 100*(x(2)-x(1)^2)^2 + (1-x(1))^2;
endfunction
\sourceoff
\sourceon Octave
x0 = [0,0];
x = sqp(x0,'f')
\sourceoff
|
Profil
|
|
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2001-2023 by Matroids Matheplanet
This web site was originally made with PHP-Nuke, a former web portal system written in PHP that seems no longer to be maintained nor supported. PHP-Nuke is Free Software released under the GNU/GPL license.
Ich distanziere mich von rechtswidrigen oder anstößigen Inhalten, die sich trotz aufmerksamer Prüfung hinter hier verwendeten Links verbergen mögen. Lesen Sie die
Nutzungsbedingungen,
die Distanzierung,
die Datenschutzerklärung und das Impressum.
[Seitenanfang]
|