Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
synchronized void | delete () |
CppBridge () | |
Static Public Member Functions | |
static void | initLogging (String usage) |
static void | shutdownLogging () |
static void | setFlags (CppFlags flags) |
static boolean | loadGurobiSharedLibrary (String full_library_path) |
Protected Member Functions | |
CppBridge (long cPtr, boolean cMemoryOwn) | |
void | finalize () |
Static Protected Member Functions | |
static long | getCPtr (CppBridge obj) |
static long | swigRelease (CppBridge obj) |
Protected Attributes | |
transient boolean | swigCMemOwn |
This class performs various C++ initialization.
It is meant to be used once at the start of a program.
Definition at line 16 of file CppBridge.java.
|
protected |
Definition at line 20 of file CppBridge.java.
com.google.ortools.init.CppBridge.CppBridge | ( | ) |
Definition at line 96 of file CppBridge.java.
synchronized void com.google.ortools.init.CppBridge.delete | ( | ) |
Definition at line 46 of file CppBridge.java.
|
protected |
Definition at line 42 of file CppBridge.java.
|
staticprotected |
Definition at line 25 of file CppBridge.java.
|
static |
Initialize the C++ logging layer.
This must be called once before any other library from OR-Tools are used.
Definition at line 61 of file CppBridge.java.
|
static |
Load the gurobi shared library.
This is necessary if the library is installed in a non canonical
directory, or if for any reason, it is not found.
You need to pass the full path, including the shared library file.
It returns true if the library was found and correctly loaded.
Definition at line 92 of file CppBridge.java.
|
static |
Sets all the C++ flags contained in the CppFlags structure.
Definition at line 80 of file CppBridge.java.
|
static |
Shutdown the C++ logging layer.
This can be called to shutdown the C++ logging layer from OR-Tools.
It should only be called once.
Deprecated: this is a no-op.
Definition at line 73 of file CppBridge.java.
|
staticprotected |
Definition at line 29 of file CppBridge.java.
|
protected |
Definition at line 18 of file CppBridge.java.