1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
#include "Tasmanian.hpp"
/*!
* \internal
* \file example_optimization.cpp
* \brief Examples for the Tasmanian Optimization module.
* \author Miroslav Stoyanov
* \ingroup TasmanianOPTExamples
*
* The main file for all optimization examples.
* \endinternal
*/
/*!
* \defgroup TasmanianOPTExamples Examples for the Tasmanian Optimization module
*
* Several examples are included that demonstrate the proper usage of the Optimization interface.
*/
using namespace std;
#ifndef __TASMANIAN_DOXYGEN_SKIP
void optimizaiton_example_01();
void optimizaiton_example_02();
int main(int argc, const char**){
/*
* The purpose of this file is to demonstrate the proper way to call
* functions from the Tasmanian Optimization Module.
*/
optimizaiton_example_01();
optimizaiton_example_02();
if (argc > 1) return 0; // fast testing used to check if the library linked correctly
cout << "\n" << "---------------------------------------------------------------------------------------------------\n\n";
return 0;
}
#endif
|