Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def simplex(c, A, b):
- tableau = to_tableau(c, A, b)
- while can_be_improved(tableau):
- pivot_position = get_pivot_position(tableau)
- tableau = pivot_step(tableau, pivot_position)
- return get_solution(tableau)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement