?? illclinf.m
字號:
function f=illclinf(x)
% Usage:
% f=illclinf(x)
% Returns value <f> of the exact penalty function
% at a point <x> for the Ill-conditioned Linear Programing problem.
global matrA vectB vectC
if size(x,2)>1, x=x';end
n=size(x,1);
f=vectC'*x + 2*n*max([0;matrA*x-vectB;-x]);
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -