Recalculate the optimal solution in the span of all previous solution space, used as update step for FrankWolfe algorithm. More...
Public Member Functions | |
| UpdateSpan (const bool isPrune=false) | |
| Construct the span update rule. More... | |
| void | Update (FuncSq &function, const arma::mat &oldCoords, const arma::mat &s, arma::mat &newCoords, const size_t) |
| Update rule for FrankWolfe, reoptimize in the span of current solution space. More... | |
Recalculate the optimal solution in the span of all previous solution space, used as update step for FrankWolfe algorithm.
Currently only works for function in FuncSq class.
Definition at line 29 of file update_span.hpp.
|
inline |
Construct the span update rule.
The function to be optimized is input here.
| function | Function to be optimized in FrankWolfe algorithm. |
Definition at line 37 of file update_span.hpp.
|
inline |
Update rule for FrankWolfe, reoptimize in the span of current solution space.
| function | function to be optimized. |
| oldCoords | previous solution coords. |
| s | current linearConstrSolution result. |
| newCoords | output new solution coords. |
| numIter | current iteration number. |
Definition at line 50 of file update_span.hpp.
References Atoms::AddAtom(), Atoms::CurrentAtoms(), Atoms::CurrentCoeffs(), Atoms::PruneSupport(), and Atoms::RecoverVector().