Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/m/i/MissionPlanner-HEAD/Lib/site-packages/scipy/optimize/tnc/example.py   MissionPlanner(Download)
rc, nf, x = tnc.minimize(function, [-7, 3], [-10, 1], [10, 10])
 
print "After", nf, "function evaluations, TNC returned:", tnc.RCSTRINGS[rc]
print "x =", x
print "exact value = [0, 1]"

src/s/c/scipy-0.13.3/scipy/optimize/tnc/example.py   scipy(Download)
rc, nf, x = tnc.minimize(function, [-7, 3], [-10, 1], [10, 10])
 
print("After", nf, "function evaluations, TNC returned:", tnc.RCSTRINGS[rc])
print("x =", x)
print("exact value = [0, 1]")

src/s/c/scipy-HEAD/scipy/optimize/tnc/example.py   scipy(Download)
rc, nf, x = tnc.minimize(function, [-7, 3], [-10, 1], [10, 10])
 
print "After", nf, "function evaluations, TNC returned:", tnc.RCSTRINGS[rc]
print "x =", x
print "exact value = [0, 1]"