|
TPCCLIB
|
#include <tpcnlopt.h>
Data Fields | |
| unsigned int | totalNr |
| double * | xfull |
| double * | xlower |
| double * | xupper |
| double * | xdelta |
| double * | xtol |
| double(* | _fun )(int, double *, void *) |
| void * | fundata |
| unsigned int | maxFunCalls |
| unsigned int | funCalls |
| double | funval |
| unsigned int | usePList |
| double * | plist |
General settings for NLOPT routines; individual routines may not use all of these, and can require additional parameters.
Definition at line 25 of file tpcnlopt.h.
| double(* NLOPT::_fun) (int, double *, void *) |
Pointer to objective function; parameters are optimized to minimize the return value of this function.
Definition at line 42 of file tpcnlopt.h.
Referenced by nlopt1D(), nloptDuplicate(), nloptIATGO(), nloptInit(), nloptITGO1(), nloptITGO2(), nloptMPSO(), nloptPowellBrent(), nloptSimplex(), nloptSimplexARRS(), and nloptSimplexMS().
| unsigned int NLOPT::funCalls |
Number of function calls so far.
Definition at line 48 of file tpcnlopt.h.
Referenced by nlopt1D(), nloptAddP(), nloptDuplicate(), nloptIATGO(), nloptInit(), nloptITGO1(), nloptITGO2(), nloptMeanP(), nloptMPSO(), nloptPrintP(), nloptSimplex(), nloptSimplexARRS(), nloptSortP(), and nloptWrite().
| void* NLOPT::fundata |
Pointer to data which is passed on to the function; NULL if not needed.
Definition at line 44 of file tpcnlopt.h.
Referenced by nlopt1D(), nloptDuplicate(), nloptIATGO(), nloptInit(), nloptITGO1(), nloptITGO2(), nloptMPSO(), nloptPowellBrent(), nloptSimplex(), and nloptSimplexARRS().
| double NLOPT::funval |
The return value of objective function with xfull[] and fundata.
Definition at line 50 of file tpcnlopt.h.
Referenced by nlopt1D(), nloptDuplicate(), nloptIATGO(), nloptInit(), nloptITGO1(), nloptITGO2(), nloptMPSO(), nloptSimplex(), nloptSimplexARRS(), nloptSimplexMS(), and nloptWrite().
| unsigned int NLOPT::maxFunCalls |
Maximum allowed number of function calls; set to zero for no limit.
Definition at line 46 of file tpcnlopt.h.
Referenced by nloptDuplicate(), nloptIATGO(), nloptInit(), nloptITGO1(), nloptITGO2(), nloptMPSO(), nloptSimplexARRS(), and nloptWrite().
| double* NLOPT::plist |
List of all visited parameters and objective function values; stored in order x[], funval, x[], funval, ... with length funCalls*(totalNr+1); updated only if usePList!=0 (above).
Definition at line 56 of file tpcnlopt.h.
Referenced by nloptAddP(), nloptFree(), nloptIATGO(), nloptInit(), nloptMeanP(), nloptMPSO(), nloptPrintP(), nloptSimplexARRS(), and nloptSortP().
| unsigned int NLOPT::totalNr |
Total nr of parameters (dimensions).
Definition at line 27 of file tpcnlopt.h.
Referenced by nlopt1D(), nloptAddP(), nloptAllocate(), nloptDuplicate(), nloptFixedNr(), nloptIATGO(), nloptInit(), nloptITGO1(), nloptITGO2(), nloptLimitFixedNr(), nloptMeanP(), nloptMPSO(), nloptPowellBrent(), nloptPrintP(), nloptRemoveEmpties(), nloptSimplex(), nloptSimplexARRS(), nloptSimplexMS(), nloptSortP(), and nloptWrite().
| unsigned int NLOPT::usePList |
Keep (1) or do not keep (0) plist (below).
Definition at line 52 of file tpcnlopt.h.
Referenced by nlopt1D(), nloptAddP(), nloptDuplicate(), nloptIATGO(), nloptInit(), nloptMeanP(), nloptMPSO(), nloptPrintP(), nloptSimplex(), nloptSimplexARRS(), nloptSortP(), and nloptWrite().
| double* NLOPT::xdelta |
Array of (initial) steps for parameters, including fixed ones; set it to the expected distance from the solution.
Definition at line 36 of file tpcnlopt.h.
Referenced by nlopt1D(), nloptAllocate(), nloptDuplicate(), nloptFixedNr(), nloptFree(), nloptIATGO(), nloptInit(), nloptITGO1(), nloptITGO2(), nloptMPSO(), nloptPowellBrent(), nloptRemoveEmpties(), nloptSimplex(), nloptSimplexARRS(), nloptSimplexMS(), and nloptWrite().
| double* NLOPT::xfull |
Array of all parameter values, including fixed ones.
Definition at line 29 of file tpcnlopt.h.
Referenced by nlopt1D(), nloptAllocate(), nloptDuplicate(), nloptFree(), nloptIATGO(), nloptInit(), nloptITGO1(), nloptITGO2(), nloptMPSO(), nloptPowellBrent(), nloptRemoveEmpties(), nloptSimplex(), nloptSimplexARRS(), nloptSimplexMS(), and nloptWrite().
| double* NLOPT::xlower |
Array of lower limits for parameters, including fixed ones.
Definition at line 31 of file tpcnlopt.h.
Referenced by nlopt1D(), nloptAllocate(), nloptDuplicate(), nloptFixedNr(), nloptFree(), nloptIATGO(), nloptInit(), nloptITGO1(), nloptITGO2(), nloptLimitFixedNr(), nloptMPSO(), nloptRemoveEmpties(), nloptSimplex(), nloptSimplexARRS(), nloptSimplexMS(), and nloptWrite().
| double* NLOPT::xtol |
Array of tolerances for parameters, including fixed ones; may be used as a stopping rule and for scaling.
Definition at line 39 of file tpcnlopt.h.
Referenced by nlopt1D(), nloptAllocate(), nloptDuplicate(), nloptFree(), nloptIATGO(), nloptInit(), nloptITGO1(), nloptITGO2(), nloptMPSO(), nloptPowellBrent(), nloptRemoveEmpties(), nloptSimplex(), nloptSimplexARRS(), nloptSimplexMS(), and nloptWrite().
| double* NLOPT::xupper |
Array of upper limits for parameters, including fixed ones.
Definition at line 33 of file tpcnlopt.h.
Referenced by nlopt1D(), nloptAllocate(), nloptDuplicate(), nloptFixedNr(), nloptFree(), nloptIATGO(), nloptInit(), nloptITGO1(), nloptITGO2(), nloptLimitFixedNr(), nloptMPSO(), nloptRemoveEmpties(), nloptSimplex(), nloptSimplexARRS(), nloptSimplexMS(), and nloptWrite().