#NEWLINE# def test_linprog_unbounded( ) : #NEWLINE# #INDENT# c = ( np . array ( [ 1 , 1 ] ) * ( - 1 ) ) #NEWLINE# A_ub = [ [ ( - 1 ) , 1 ] , [ ( - 1 ) , ( - 1 ) ] ] #NEWLINE# b_ub = [ ( - 1 ) , ( - 2 ) ] #NEWLINE# res = linprog ( A_ub , A_ub = A_ub , b_ub = b_ub ) #NEWLINE# _assert_unbounded ( res )