代码搜索:CallBack
找到约 10,000 项符合「CallBack」的源代码
代码结果 10,000
www.eeworm.com/read/347945/11624897
m pennonm_callback_df.m
function [nnz,ind,val] = pennonm_callback_df(x,model_in)
global latest_x
global latest_df
persistent model
if nargin>1
model = model_in;
return
end
x = x(:);
if isequal(x,latest
www.eeworm.com/read/347945/11624902
m ipopt_callback_g.m
function g = ipopt_callback_g(x,model)
global latest_x_g
global latest_G
global latest_g
x = x(:);
% Compute the nonlinear terms in the constraints and Jacobians for later
[g,geq,dg,dgeq]
www.eeworm.com/read/347945/11624938
m pennonm_callback_dg.m
function [nnz,ind,val] = pennonm_callback_dg(i,x,model_in)
global latest_G
global latest_g
global latest_x_g
persistent model
persistent G
if nargin>2
model = model_in;
return
e
www.eeworm.com/read/347945/11624973
m ipopt_callback_f.m
function f = ipopt_callback_f(x,model)
global latest_x_f
global latest_df
x = x(:);
[f,latest_df] = fmincon_fun(x,model);
latest_x_f = x;
www.eeworm.com/read/347945/11625037
m ipoptgp_callback_g.m
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);