optimize.tests.test_trustregion

Unit tests for trust-region optimization routines.

To run it in its simplest form::
nosetests test_optimize.py

Module Contents

Classes

Accumulator(self) This is for testing callbacks.
TestTrustRegionSolvers()
class Accumulator

This is for testing callbacks.

__init__()
__call__(x)
class TestTrustRegionSolvers
setup_method()
test_dogleg_accuracy()
test_dogleg_callback()
test_solver_concordance()
test_trust_ncg_hessp()