14#ifndef OR_TOOLS_INIT_INIT_H_
15#define OR_TOOLS_INIT_INIT_H_
21#include "absl/flags/flag.h"
22#include "absl/flags/usage.h"
23#include "absl/log/globals.h"
24#include "absl/log/initialize.h"
101 absl::SetProgramUsageMessage(usage);
102 absl::InitializeLog();
125 absl::SetFlag(&FLAGS_cp_model_dump_submodels,
154 return ::operations_research::OrToolsMajorVersion();
161 return ::operations_research::OrToolsMinorVersion();
168 return ::operations_research::OrToolsPatchVersion();
175 return ::operations_research::OrToolsVersionString();
static void SetFlags(const CppFlags &flags)
static void ShutdownLogging()
static void DeleteByteArray(uint8_t *buffer)
static bool LoadGurobiSharedLibrary(const std::string &full_library_path)
static void InitLogging(const std::string &usage)
ABSL_DECLARE_FLAG(std::string, cp_model_dump_prefix)
In SWIG mode, we don't want anything besides these top-level includes.
absl::Status LoadGurobiDynamicLibrary(std::vector< std::string > potential_paths)
bool cp_model_dump_models
bool log_prefix
Controls if time and source code info are used to prefix logging messages.
int stderrthreshold
Controls the logging level shown on stderr.
std::string cp_model_dump_prefix
bool cp_model_dump_response
bool cp_model_dump_submodels