optimize.tests.test_trustregion_exact

Unit tests for trust-region iterative subproblem.

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

Module Contents

Functions

random_entry(n,min_eig,max_eig,case)
random_entry(n, min_eig, max_eig, case)
class TestEstimateSmallestSingularValue
test_for_ill_condiotioned_matrix()
class TestSingularLeadingSubmatrix
test_for_already_singular_leading_submatrix()
test_for_simetric_indefinite_matrix()
test_for_first_element_equal_to_zero()
class TestIterativeSubproblem
test_for_the_easy_case()
test_for_the_hard_case()
test_for_interior_convergence()
test_for_jac_equal_zero()
test_for_jac_very_close_to_zero()
test_for_random_entries()