📄 ipoptgp_callback_dg.m
字号:
function G = ipopt_callback_dg(x,returnStructOnly,prob)
if returnStructOnly
G = sparse(ones(max(prob.map)+size(prob.G,1),size(prob.A,2)));
return
end
% Compute the nonlinear terms in the constraints
[g,geq,dg,dgeq] = fmincon_congp(x,prob);
G = [dg';dgeq'];
G = sparse(G);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -