#NEWLINE# def test_minimize_tnc3( self ) : #NEWLINE# #INDENT# ( x0 , bnds ) = ( [ 10 , 1 ] , ( [ ( - np . inf ) , None ] , [ 0.0 , None ] ) ) #NEWLINE# xopt = [ 0 , 0 ] #NEWLINE# x = optimize . minimize ( self . f3 , x0 , method = 'TNC' , jac = self . g3 , bounds = bnds , options = self . opts ) . x #NEWLINE# assert_allclose ( self . f3 ( x ) , self . f3 ( self ) , atol = 1e-08 )