00001 #include <math.h> 00002 #include <stdio.h> 00003 #include <stdlib.h> 00004 00005 #include "obj_funct.h" 00006 00007 /** 00008 This function is here only for linking purposes. Please don't use 00009 this file to put here your objective function. See 00010 SIFEL/PRG/GEFEL/OPTIM/INSTALL file for instructions, how to create 00011 your own optimization problem. 00012 00013 created $Date: 2003/12/22 13:00:17 $, $Author: leps $ 00014 */ 00015 void obj_funct::user_allocate( void ) 00016 { 00017 fprintf ( stderr, "You are using blank objective function! \n" ) ; 00018 fprintf ( stderr, "Create your own! \n" ) ; 00019 fprintf ( stderr, "Obj_funct::allocate() (%s, line %d)\n",\ 00020 __FILE__,__LINE__) ; 00021 } 00022 00023 /** 00024 This function is here only for linking purposes. Please don't use 00025 this file to put here your objective function. See 00026 SIFEL/PRG/GEFEL/OPTIM/INSTALL file for instructions, how to create 00027 your own optimization problem. 00028 00029 created $Date: 2003/12/22 13:00:17 $, $Author: leps $ 00030 */ 00031 double obj_funct::user_value ( double * ) 00032 { 00033 return ( 0.0 ) ; 00034 } 00035 00036 /** 00037 This function is here only for linking purposes. Please don't use 00038 this file to put here your objective function. See 00039 SIFEL/PRG/GEFEL/OPTIM/INSTALL file for instructions, how to create 00040 your own optimization problem. 00041 00042 created $Date: 2003/12/22 13:00:17 $, $Author: leps $ 00043 */ 00044 void obj_funct::user_deallocate ( void ) 00045 { 00046 } 00047 00048 /** 00049 This function is here only for linking purposes. Please don't use 00050 this file to put here your objective function. See 00051 SIFEL/PRG/GEFEL/OPTIM/INSTALL file for instructions, how to create 00052 your own optimization problem. 00053 00054 created $Date: 2003/12/22 13:00:17 $, $Author: leps $ 00055 */ 00056 void obj_funct::user_evaluate ( double */*BSF*/ ) 00057 { 00058 }