scalation.optimization.linearopt

Members list

Type members

Classlikes

class QuadraticSimplex(a: MatrixD, b: VectorD, q: MatrixD, c: VectorD, var x_B: Array[Int])

The QuadraticSimplex class solves Quadratic Programming (QP) problems using the Quadratic Simplex Algorithm. Given a constraint matrix a, constant vector b, cost matrix q and cost vector c, find values for the solution/decision vector x that minimize the objective function f(x), while satisfying all of the constraints, i.e.,

The QuadraticSimplex class solves Quadratic Programming (QP) problems using the Quadratic Simplex Algorithm. Given a constraint matrix a, constant vector b, cost matrix q and cost vector c, find values for the solution/decision vector x that minimize the objective function f(x), while satisfying all of the constraints, i.e.,

minimize f(x) = 1/2 x q x + c x subject to a x <= b, x >= 0

Creates an MM-by-NN simplex tableau. This implementation is restricted to linear constraints a x <= b and q being a positive semi-definite matrix. Pivoting must now also handle non-linear complementary slackness.

Value parameters

a

the M-by-N constraint matrix

b

the M-length constant/limit vector

c

the N-length cost/revenue vector (first order component)

q

the N-by-N cost/revenue matrix (second order component)

x_B

the initial basis (set of indices where x_i is in the basis)

Attributes

See also
Supertypes
class Object
trait Matchable
class Any
final class quadraticSimplexTest

Attributes

Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def quadraticSimplexTest(): Unit

The quadraticSimplexTest main function is used to test the QuadraticSimplex class.

The quadraticSimplexTest main function is used to test the QuadraticSimplex class.

runMain scalation.optimization.linearOpt.quadraticSimplexTest

Attributes