| 68 |
|
|
| 69 |
|
void setCurrentValue(const DynamicVector<RealType>& currentValue) { |
| 70 |
|
currentValue_=currentValue; |
| 71 |
< |
statusFunction_.writeStatus(currentValue); |
| 71 |
> |
statusFunction_.writeStatus(functionEvaluation_, |
| 72 |
> |
gradientEvaluation_, |
| 73 |
> |
currentValue_, |
| 74 |
> |
functionValue_); |
| 75 |
|
} |
| 76 |
|
|
| 77 |
|
//! current value of the local minimum |
| 137 |
|
|
| 138 |
|
inline void Problem::reset() { |
| 139 |
|
functionEvaluation_ = gradientEvaluation_ = 0; |
| 140 |
< |
functionValue_ = squaredNorm_ = NULL; |
| 140 |
> |
functionValue_ = squaredNorm_ = 0; |
| 141 |
|
} |
| 142 |
|
|
| 143 |
|
} |