Implementation of the class URANIE::Optimizer::TOptimizerOpt.
More...
#include "TSystem.h"
#include "TOptimizerOpt.h"
#include "UExceptions.h"
#include "NLP.h"
#include "NLF.h"
#include "OptNewton.h"
#include "OptNIPS.h"
#include "OptPDS.h"
#include "OptppExceptions.h"
#include <dlfcn.h>
|
| ClassImp (URANIE::Optimizer::TOptimizerOpt) void init_eqm(int ndim |
|
cout<< "**** init_eqm - Dim["<< ndim<< "]"<< endl;for(int i=1;i<=ndim;i++) { x(i)=-1.0+2.0 *rand()/(RAND_MAX+1.0);cout<< "** i["<< i<< "] x["<< x(i)<< "] **"<< endl;} cout<< endl<< "*************************************************"<< endl;}void update_model(int, int, NEWMAT::ColumnVector){}void UranieOptimizerOptInteractiveMethod0(int n, const NEWMAT::ColumnVector &x, double &fx, int &result){ TMethodCall *m=gOptOptimizer-> | getMethodCall () |
|
| if (!m) return |
|
| for (Int_t i=0;i< n;i++) valInp[i] |
|
m | SetParamPtrs (args, 3) |
|
m | Execute (dddResult) |
|
gOptOptimizer | incrementIteration () |
|
cout<< "** Iter["<< gOptOptimizer-> | getIteration ()<< "] -- fx["<< fx<< "]"<< endl |
|
void | UranieOptimizerOptInteractiveMethod (int n, int mode, const NEWMAT::ColumnVector &x, real &fx, NEWMAT::ColumnVector &g, NEWMAT::SymmetricMatrix &H, int &result) |
|
◆ ClassImp()
◆ Execute()
◆ for()
◆ getIteration()
cout<< "** Iter["<< gOptOptimizer-> getIteration |
( |
| ) |
|
◆ getMethodCall()
cout<< "**** init_eqm - Dim["<< ndim<< "]"<< endl; for(int i=1;i<=ndim;i++) { x(i)=-1.0+2.0 *rand()/(RAND_MAX+1.0); cout<< "** i["<< i<< "] x["<< x(i)<< "] **"<< endl; } cout<< endl<< "*************************************************"<< endl;}void update_model(int, int, NEWMAT::ColumnVector){}void UranieOptimizerOptInteractiveMethod0(int n, const NEWMAT::ColumnVector &x, double &fx, int &result){ TMethodCall *m=gOptOptimizer-> getMethodCall |
( |
| ) |
|
◆ if()
◆ incrementIteration()
◆ SetParamPtrs()
m SetParamPtrs |
( |
args |
, |
|
|
3 |
|
|
) |
| |
◆ UranieOptimizerOptInteractiveMethod()
void UranieOptimizerOptInteractiveMethod |
( |
int |
n, |
|
|
int |
mode, |
|
|
const NEWMAT::ColumnVector & |
x, |
|
|
real & |
fx, |
|
|
NEWMAT::ColumnVector & |
g, |
|
|
NEWMAT::SymmetricMatrix & |
H, |
|
|
int & |
result |
|
) |
| |
◆ args
◆ dddResult
◆ fx
◆ gOptOptimizer
◆ result
◆ valInp
◆ valOut