Package teamwork :: Package examples :: Package Thespian :: Module testCVXOPT
[hide private]
[frames] | no frames]

Module testCVXOPT

source code

Variables [hide private]
  p = matrix([[2, 0], [0, 8]], tc= 'd')
  q = matrix([-8,-16], tc= 'd')
  G = matrix([[1, 1, 1], [1, 0,-1],], tc= 'd')
  h = matrix([5, 3, 2], tc= 'd')
  res = qp(p, q, G, h)