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

Function highsVarTypeUserDataNotNull

highs/util/HighsUtils.cpp:252–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

250}
251
252bool highsVarTypeUserDataNotNull(const HighsLogOptions& log_options,
253 const HighsVarType* user_data,
254 const std::string& name) {
255 bool null_data = false;
256 if (user_data == NULL) {
257 highsLogUser(log_options, HighsLogType::kError,
258 "User-supplied %s are NULL\n", name.c_str());
259 null_data = true;
260 }
261 assert(!null_data);
262 return null_data;
263}
264
265bool intUserDataNotNull(const HighsLogOptions& log_options,
266 const HighsInt* user_data, const std::string& name) {

Callers 1

Calls 2

highsLogUserFunction · 0.85
c_strMethod · 0.80

Tested by

no test coverage detected