MCPcopy Create free account
hub / github.com/cvanaret/Uno / UnopyUserCallbacks

Method UnopyUserCallbacks

interfaces/Python/cpp_classes/UnoSolverWrapper.cpp:13–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11
12namespace uno {
13 UnopyUserCallbacks::UnopyUserCallbacks(std::optional<NotifyAcceptableIterateCallback>& notify_acceptable_iterate_callback,
14 std::optional<TerminationCallback>& termination_callback):
15 UserCallbacks(), notify_acceptable_iterate_callback(notify_acceptable_iterate_callback), termination_callback(termination_callback) { }
16
17 void UnopyUserCallbacks::notify_acceptable_iterate(const Vector<double>& primals, const Multipliers& multipliers,
18 double objective_multiplier, double primal_feasibility_residual, double stationarity_residual, double complementarity_residual) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected