public class CppBridge
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
swigCMemOwn |
| Modifier | Constructor and Description |
|---|---|
|
CppBridge() |
protected |
CppBridge(long cPtr,
boolean cMemoryOwn) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
protected void |
finalize() |
protected static long |
getCPtr(CppBridge obj) |
static void |
initLogging(java.lang.String usage)
Initialize the C++ logging layer.
This must be called once before any other library from OR-Tools are used. |
static boolean |
logGurobiSharedLibrary(java.lang.String full_library_path)
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. |
static void |
setFlags(CppFlags flags)
Sets all the C++ flags contained in the CppFlags structure.
|
static void |
shutdownLogging()
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. |
protected static long |
swigRelease(CppBridge obj) |
protected CppBridge(long cPtr,
boolean cMemoryOwn)
public CppBridge()
protected static long getCPtr(CppBridge obj)
protected static long swigRelease(CppBridge obj)
protected void finalize()
finalize in class java.lang.Objectpublic void delete()
public static void initLogging(java.lang.String usage)
public static void shutdownLogging()
public static void setFlags(CppFlags flags)
public static boolean logGurobiSharedLibrary(java.lang.String full_library_path)
Copyright © 2024. All rights reserved.