/***********************************************************************/ /* _______ ___________ ______ ______ ___ ___ / _____||___ ____| / __ \ | _ \ \ \ / / | | __ | | | | | | | |_) | \ V / | | |_ | | | | | | | | ___/ > < | |__| | | | | |__| | | | / _ \ \______| |__| \______/ |__| /__/ \__\ Version 1.0 GTOPX - Space Mission Benchmarks -------------------------------- This is an example program to test evaluate the ten benchmark instances of GTOPX, which are: No. 1 : Cassini1 No. 2 : Cassini2 No. 3 : Messenger (reduced) No. 4 : Messenger (full) No. 5 : GTOC1 No. 6 : Rosetta No. 7 : Sagas No. 8 : Cassini1-MINLP No. 9 : Cassini1-MO No. 10 : Cassini1-MO-MINLP For each benchmark, the number of objetives (o), variables (n) and constraints (m) are given. Note that benchmark 8 and 10 include integer (discrete) variables, which are located at the end of the solution vector "x". The arrays "xl" and "xu" denote the lower and upper bounds (also called box-constraints) for each benchmark. The array "x" given in this file is the best known solution vector. For further information on GTOPX, see here: http://www.midaco-solver.com/index.php/about/benchmarks/gtopx For further information on ESA's original GTOP, see here: https://www.esa.int/gsp/ACT/projects/gtop/ */ /***********************************************************************/ #include /***********************************************************************/ /*************** Subroutine to evaluate GTOPX problem *************/ /***********************************************************************/ void gtopx(int BENCHMARK, double *f,double *g,double *x); /***********************************************************************/ /************* Subroutine to print F(X) and G(X) results ***********/ /***********************************************************************/ void print_result(double *f,double *g,int o,int n,int ni,int m) {int i; printf("\n o:%2i, n:%2i, ni:%2i, m:%2i // dimensions \n",o,n,ni,m); for( i=0; i