Skip to content

Commit

Permalink
inverted the matrix somehow
Browse files Browse the repository at this point in the history
  • Loading branch information
axonal committed Mar 26, 2019
1 parent d766de3 commit a6f85d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chicken.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

def solve_chicken(solver=None):
c = matrix([1., 1., 1., 1.])
G = matrix([[1., 1., 0., 0.], [-2., 0., 0., -1.], [0., -2., -1., 0.],
[0., 0., -2., -2.]])
G = matrix([[1., 0., 1., 0.], [-2., 0., 0., -1.], [0., -1., -2., 0.],
[0., 2., 0., 2.]])
h = matrix([0., 0., 0., 0.])

A = matrix([[1.], [1.], [1.], [1.]])
Expand Down

0 comments on commit a6f85d2

Please sign in to comment.