MCPcopy Create free account
hub / github.com/ERGO-Code/HiGHS / clear

Method clear

highs/lp_data/HighsCallback.cpp:55–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55void HighsCallback::clear() {
56 this->user_callback = nullptr;
57 this->user_callback_data = nullptr;
58 this->active.assign(kNumCallbackType, false);
59 this->clearHighsCallbackOutput();
60 this->clearHighsCallbackInput();
61}
62
63bool HighsCallback::callbackActive(const int callback_type) {
64 // Check that callback function has been defined

Callers 1

Calls 2

Tested by

no test coverage detected