#! /usr/bin/env python3 # def compass_search_test ( ): #*****************************************************************************80 # ## COMPASS_SEARCH_TEST tests the COMPASS_SEARCH library. # # Licensing: # # This code is distributed under the GNU LGPL license. # # Modified: # # 23 January 2016 # # Author: # # John Burkardt # import platform print ( '' ) print ( 'COMPASS_SEARCH_TEST' ) print ( ' Python version: %s' % ( platform.python_version ( ) ) ) print ( ' Test the COMPASS_SEARCH library.' ) from beale import beale_test from bohach1 import bohach1_test from bohach2 import bohach2_test from broyden import broyden_test from extended_rosenbrock import extended_rosenbrock_test from goldstein_price import goldstein_price_test from himmelblau import himmelblau_test from local import local_test from mckinnon import mckinnon_test from powell import powell_test from rosenbrock import rosenbrock_test beale_test ( ) bohach1_test ( ) bohach2_test ( ) broyden_test ( ) extended_rosenbrock_test ( ) goldstein_price_test ( ) himmelblau_test ( ) local_test ( ) mckinnon_test ( ) powell_test ( ) rosenbrock_test ( ) # # Terminate. # print ( '' ) print ( 'COMPASS_SEARCH_TEST:' ) print ( ' Normal end of execution.' ) return if ( __name__ == '__main__' ): from timestamp import timestamp timestamp ( ) compass_search_test ( ) timestamp ( )