object QuadraticSimplexTest extends App
The QuadraticSimplexTest
object is used to test the QuadraticSimplex
class.
- Alphabetic
- By Inheritance
- QuadraticSimplexTest
- App
- DelayedInit
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
args: Array[String]
- Attributes
- protected
- Definition Classes
- App
- Annotations
- @deprecatedOverriding( "args should not be overridden" , "2.11.0" )
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
executionStart: Long
- Definition Classes
- App
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
main(args: Array[String]): Unit
- Definition Classes
- App
- Annotations
- @deprecatedOverriding( "main should not be overridden" , "2.11.0" )
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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
-
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
-
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
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
delayedInit(body: ⇒ Unit): Unit
- Definition Classes
- App → DelayedInit
- Annotations
- @deprecated
- Deprecated
(Since version 2.11.0) the delayedInit mechanism will disappear