Google OR-Tools v9.9
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.linearsolver.MPModelExportOptions Class Reference

Public Member Functions

synchronized void delete ()
 
void setObfuscate (boolean value)
 
boolean getObfuscate ()
 
void setLogInvalidNames (boolean value)
 
boolean getLogInvalidNames ()
 
void setShowUnusedVariables (boolean value)
 
boolean getShowUnusedVariables ()
 
void setMaxLineLength (int value)
 
int getMaxLineLength ()
 
 MPModelExportOptions ()
 

Protected Member Functions

 MPModelExportOptions (long cPtr, boolean cMemoryOwn)
 
void finalize ()
 

Static Protected Member Functions

static long getCPtr (MPModelExportOptions obj)
 
static long swigRelease (MPModelExportOptions obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

Detailed Description

Export options.

Definition at line 16 of file MPModelExportOptions.java.

Constructor & Destructor Documentation

◆ MPModelExportOptions() [1/2]

com.google.ortools.linearsolver.MPModelExportOptions.MPModelExportOptions ( long cPtr,
boolean cMemoryOwn )
protected

Definition at line 20 of file MPModelExportOptions.java.

◆ MPModelExportOptions() [2/2]

com.google.ortools.linearsolver.MPModelExportOptions.MPModelExportOptions ( )

Definition at line 116 of file MPModelExportOptions.java.

Member Function Documentation

◆ delete()

synchronized void com.google.ortools.linearsolver.MPModelExportOptions.delete ( )

Definition at line 46 of file MPModelExportOptions.java.

◆ finalize()

void com.google.ortools.linearsolver.MPModelExportOptions.finalize ( )
protected

Definition at line 42 of file MPModelExportOptions.java.

◆ getCPtr()

static long com.google.ortools.linearsolver.MPModelExportOptions.getCPtr ( MPModelExportOptions obj)
staticprotected

Definition at line 25 of file MPModelExportOptions.java.

◆ getLogInvalidNames()

boolean com.google.ortools.linearsolver.MPModelExportOptions.getLogInvalidNames ( )

Whether to log invalid variable and constraint names.

Definition at line 80 of file MPModelExportOptions.java.

◆ getMaxLineLength()

int com.google.ortools.linearsolver.MPModelExportOptions.getMaxLineLength ( )

For .lp files only. Maximum line length in exported files. The default
was chosen so that SCIP can read the files.

Definition at line 112 of file MPModelExportOptions.java.

◆ getObfuscate()

boolean com.google.ortools.linearsolver.MPModelExportOptions.getObfuscate ( )

Obfuscates variable and constraint names.

Definition at line 66 of file MPModelExportOptions.java.

◆ getShowUnusedVariables()

boolean com.google.ortools.linearsolver.MPModelExportOptions.getShowUnusedVariables ( )

For .lp files only. Decides whether variables unused in the objective and
constraints are shown when exported to a file.

Definition at line 96 of file MPModelExportOptions.java.

◆ setLogInvalidNames()

void com.google.ortools.linearsolver.MPModelExportOptions.setLogInvalidNames ( boolean value)

Whether to log invalid variable and constraint names.

Definition at line 73 of file MPModelExportOptions.java.

◆ setMaxLineLength()

void com.google.ortools.linearsolver.MPModelExportOptions.setMaxLineLength ( int value)

For .lp files only. Maximum line length in exported files. The default
was chosen so that SCIP can read the files.

Definition at line 104 of file MPModelExportOptions.java.

◆ setObfuscate()

void com.google.ortools.linearsolver.MPModelExportOptions.setObfuscate ( boolean value)

Obfuscates variable and constraint names.

Definition at line 59 of file MPModelExportOptions.java.

◆ setShowUnusedVariables()

void com.google.ortools.linearsolver.MPModelExportOptions.setShowUnusedVariables ( boolean value)

For .lp files only. Decides whether variables unused in the objective and
constraints are shown when exported to a file.

Definition at line 88 of file MPModelExportOptions.java.

◆ swigRelease()

static long com.google.ortools.linearsolver.MPModelExportOptions.swigRelease ( MPModelExportOptions obj)
staticprotected

Definition at line 29 of file MPModelExportOptions.java.

Member Data Documentation

◆ swigCMemOwn

transient boolean com.google.ortools.linearsolver.MPModelExportOptions.swigCMemOwn
protected

Definition at line 18 of file MPModelExportOptions.java.


The documentation for this class was generated from the following file: