⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 newton.m

📁 基于matlab的约束非线性规划算法库
💻 M
字号:
function [p, r, lambda, betak, term] = Newton(ffunc,cfunc,X,f,c,params)
%Call: [p r lambda betak term] = Newton('ffunc','cfunc',X);
%Compute p, the search direction from Newtons method
%MORE to come
%
G=hessian(ffunc,X,f,params)
%Compute a Lagrange vector estimate lambda
%
lambda=ones(length(c),1);
%This hessian computation only works for equality constrained problems.
%For ineq-prob. Aset and Abounds should be supplied
H=hessian(cfunc,X,lambda,params)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -