Download MPCMath User Manual - 2

Transcript
17.8. BARRIERFUNCTION
261
Properties
Lambda
Smoothing factor ( 0.0 < Lambda ≤ 1.0)
double Lambda {set; get;}
Splines
Array of Spline functions
Spline[] Splines {get;}
X
Spline x points
Vector X {get;}
Y
Spline y points
Vector Y {get;}
Methods
Value
Value of smoothed spline
double Value(double x)
Parameters
x
17.8
BarrierFunction
Class BarrierFunction
Logaritmic barrier function.
Given a set of inequality conditions B ≥ Ax the barrier function is
φ=−
N
−1
X
ln(bi − ai x)
i=0
where ai is the i row of A and N is the number of rows in A
class BarrierFunction : IFun
(17.4)