# Module argmin::core [−][src]

Core functionality Argmin Optimizaton toolbox core

This crate contains the core functionality of argmin. If you just want to run an optimization
method, this is *not* what you are looking for. However, if you want to implement your own
solver based on the argmin architecture, you should find all necessary tools here.

## Re-exports

`pub use executor::*;` |

## Modules

executor | Executor |

file | Output parameter vectors to file |

macros | Macros |

slog_logger | Loggers based on the |

## Structs

ArgminCheckpoint | Checkpoint |

ArgminIterData | The datastructure which is returned by the |

ArgminKV | A simple key-value storage |

ArgminResult | Final struct returned by the |

ArgminSlogKV | This type is necessary in order to be able to implement |

ArgminSlogLogger | A logger based on |

Error | The |

IterState | Maintains the state from iteration to iteration of a solver |

MinimalNoOperator | Minimal No-op operator which does nothing, really. |

NoOperator | Fake Operators for testing No-op operator with free choice of the types |

Observer | Container for observers which acts just like a single |

OpWrapper | This wraps an operator and keeps track of how often the cost, gradient and Hessian have been computed and how often the modify function has been called. Usually, this is an implementation detail unless a solver is needed within another solver (such as a line search within a gradient descent method), then it may be necessary to wrap the operator in an OpWrapper. |

WriteToFile | Write parameter vectors to file |

## Enums

ArgminError | Argmin error type |

CheckpointMode | Defines at which intervals a checkpoint is saved. |

ObserverMode | This is used to indicate how often the observer will observe the status. |

TerminationReason | Indicates why the optimization algorithm stopped |

WriteToFileSerializer | Different kinds of serializers |

## Traits

ArgminAdd | Add a |

ArgminConj | Return the conjugate |

ArgminDiv | (Pointwise) Divide a |

ArgminDot | Dot/scalar product of |

ArgminEye | Identity matrix |

ArgminFloat | Trait alias to simplify common trait bounds |

ArgminInv | Compute the inverse ( |

ArgminLineSearch | Defines a common interface for line search methods. |

ArgminMinMax | Minimum and Maximum of type |

ArgminMul | (Pointwise) Multiply a |

ArgminNLCGBetaUpdate | Common interface for beta update methods (Nonlinear-CG) |

ArgminNorm | Compute the l2-norm ( |

ArgminOp | This trait needs to be implemented for every operator/cost function. |

ArgminRandom | Create a random number |

ArgminScaledAdd | Add a |

ArgminScaledSub | Subtract a |

ArgminSub | Subtract a |

ArgminTranspose | Return the transpose ( |

ArgminTrustRegion | Defines a common interface to methods which calculate approximate steps for trust region methods. |

ArgminWeightedDot | Dot/scalar product of |

ArgminZero | Return param vector of all zeros (for now, this is a hack. It should be done better) |

ArgminZeroLike | Zero for dynamically sized objects |

Observe | Defines the interface every Observer needs to expose |

Solver | Solver |

## Functions

load_checkpoint | Load a checkpoint from disk |