English Français

Documentation / Developer's manual

Available modules

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / Optimizer: TFCNCode.h File Reference
Uranie / Optimizer v4.9.0
/* @license-end */
TFCNCode.h File Reference

Example of a function to be minimized which calls an external code TCode and a dataserver. More...

#include "TH1.h"
#include "TF1.h"
#include "TFile.h"
#include "TPad.h"
#include "TRandom3.h"
#include "TVirtualFitter.h"
#include "TStyle.h"
#include "Minuit2/FCNBase.h"
#include "TSystem.h"
#include <vector>
#include <iostream>
#include "Optimizer.h"
#include "TCode.h"
#include "TDataServer.h"
Include dependency graph for TFCNCode.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  URANIE::Optimizer::TFCNCode
 

Namespaces

namespace  URANIE
 Rosenbrock's function (n=2) with first and second order derivatives.
 
namespace  URANIE::Optimizer
 

Detailed Description

Example of a function to be minimized which calls an external code TCode and a dataserver.

Author
Fabrice Gaudier fabri.nosp@m.ce.g.nosp@m.audie.nosp@m.r@ce.nosp@m.a.fr
Date
mar jui 3 10:38:56 CEST 2007

This is tested for Rosenbrock function defined as follows: Rosenbrock function is d�fined by the equation

\[
f(x, y) \, = \, 100( y - x^{2})^{2} + ( 1 - x )^{2}
\]

The minimun is reached when $ ( \star{x^{0}}, \star{y^{0}} ) \, = \, ( 1.0, 1.0 ) $

A possible beginning point may be : $ ( x^{0}, y^{0} ) \, = \, ( -1.2, 1.0 )$ with f equal to 24.20.