ipoptgp_callback_g.m
来自「matlab波形优化算法经常要用到的matlab toolbox工具箱:yalm」· M 代码 · 共 9 行
M
9 行
function g = ipoptgp_callback_g(x,model)
% Should be made faster by re-using results from dg computation...
% Compute the nonlinear terms in the constraints
[g,geq] = fmincon_congp(x,model);
% Append with linear constraints
g = [g;geq];
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?