1725 |
|
//creat |
1726 |
|
myOOPSEMinimizerBase = new OOPSEMinimizerBase(&(info[i]), the_ff); |
1727 |
|
|
1728 |
+ |
info[i].the_integrator = myOOPSEMinimizerBase; |
1729 |
|
//creat the object functor; |
1730 |
|
objFunc = (ObjFunctor1*) new ClassMemObjFunctor1<OOPSEMinimizerBase> |
1731 |
|
(myOOPSEMinimizerBase, &OOPSEMinimizerBase::calcGradient); |
1738 |
|
dim = myOOPSEMinimizerBase->getDim(); |
1739 |
|
nlp = new ConcreteNLModel1(dim, objFunc); |
1740 |
|
|
1741 |
+ |
nlp->setX(myOOPSEMinimizerBase->getCoor()); |
1742 |
+ |
|
1743 |
|
//prepare parameter set for minimizer |
1744 |
|
param = new MinimizerParameterSet(); |
1745 |
|
param->setDefaultParameter(); |