optimize.tests.test__remove_redundancy

Unit test for Linear Programming via Simplex Algorithm.

Module Contents

Functions

setup_module()
_assert_success(res,desired_fun=None,desired_x=None,rtol=1e-07,atol=1e-07)
test_no_redundancy()
test_infeasible_zero_row()
test_remove_zero_row()
test_infeasible_m_gt_n()
test_infeasible_m_eq_n()
test_infeasible_m_lt_n()
test_m_gt_n()
test_m_gt_n_rank_deficient()
test_m_lt_n_rank_deficient()
test_dense1()
test_dense2()
test_dense3()
test_m_gt_n_sparse()
test_m_lt_n_sparse()
test_m_eq_n_sparse()
test_magic_square()
test_magic_square2()
setup_module()
_assert_success(res, desired_fun=None, desired_x=None, rtol=1e-07, atol=1e-07)
test_no_redundancy()
test_infeasible_zero_row()
test_remove_zero_row()
test_infeasible_m_gt_n()
test_infeasible_m_eq_n()
test_infeasible_m_lt_n()
test_m_gt_n()
test_m_gt_n_rank_deficient()
test_m_lt_n_rank_deficient()
test_dense1()
test_dense2()
test_dense3()
test_m_gt_n_sparse()
test_m_lt_n_sparse()
test_m_eq_n_sparse()
test_magic_square()
test_magic_square2()