home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Liren Large Software Subsidy 10
/
10.iso
/
l
/
l455
/
4.ddi
/
OPTIM.DI$
/
COSTQP.M
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Text File
|
1993-02-05
|
190 b
|
6 lines
function [f,g]=costqp(x,H,f,A,b)
%COSTQP Cost function and constraints for QP problem. Used by QPNEGDEF to
% solve non positive definite problems.
f = 0.5*x'*H*x + f'*x;
g = A * x - b;