o

scalation.minima

QuadraticSimplexTest

object QuadraticSimplexTest extends App

The QuadraticSimplexTest object is used to test the QuadraticSimplex class.

Linear Supertypes
App, DelayedInit, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. QuadraticSimplexTest
  2. App
  3. DelayedInit
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def args: Array[String]
    Attributes
    protected
    Definition Classes
    App
    Annotations
    @deprecatedOverriding( "args should not be overridden" , "2.11.0" )
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. val executionStart: Long
    Definition Classes
    App
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def main(args: Array[String]): Unit
    Definition Classes
    App
    Annotations
    @deprecatedOverriding( "main should not be overridden" , "2.11.0" )
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  18. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  19. def test(a: MatrixD, b: VectorD, q: MatrixD, c: VectorD): Unit

    Test the QuadraticSimplex Algorithm for solving Quadratic Programs: min { 1/2 x q x + c x | a x <= b, x >= 0 }.

    Test the QuadraticSimplex Algorithm for solving Quadratic Programs: min { 1/2 x q x + c x | a x <= b, x >= 0 }.

    a

    the constraint matrix

    b

    the constant vector

    q

    the cost matrix

    c

    the cost vector

  20. def test1(): Unit

    Test case 1: solution x = (.222222), 1.55556), z = -8.44444.

    Test case 1: solution x = (.222222), 1.55556), z = -8.44444.

    See also

    www.engineering.uiowa.edu/~dbricker/Stacks_pdf2/QP_LCP_Example.pdf min x2 - 2xy + y2 - 4x - 6y st 2x + y <= 2 -x + y <= 4

  21. def test2(): Unit

    Test case 2: solution x = (0, 5), z = 20.

    Test case 2: solution x = (0, 5), z = 20.

    See also

    http://courses.csail.mit.edu/6.867/wiki/images/a/a7/Qp-cvxopt.pdf min .5x^2 + 3x + 4y st x + 3y >= 15 2x + 5y <= 100 3x + 4y <= 80

  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def delayedInit(body: ⇒ Unit): Unit
    Definition Classes
    App → DelayedInit
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) the delayedInit mechanism will disappear

Inherited from App

Inherited from DelayedInit

Inherited from AnyRef

Inherited from Any

Ungrouped