public class Configuration extends Object
Modifier and Type | Field and Description |
---|---|
boolean |
CUTSENABLED
Enable/Disable generation of inequalities in master problem.
|
String |
EXPORT_MASTER_DIR
Define export directory for master models.
|
boolean |
EXPORT_MODEL
Define whether master problem should be written to .lp file.
|
int |
MAXTHREADS
Number of threads used by the column generation procedure.
|
double |
PRECISION
Precision parameter.
|
boolean |
QUICK_RETURN_AFTER_CUTS_FOUND
The
CutHandler invokes the AbstractCutGenerator (s) one by one to generate inequalities. |
Modifier | Constructor and Description |
---|---|
protected |
Configuration()
Use default configuration
|
protected |
Configuration(Properties properties)
Use configuration from file.
|
Modifier and Type | Method and Description |
---|---|
static Configuration |
getConfiguration()
Returns the configuration
|
static void |
readFromFile(Properties properties)
Read properties from a file
|
public final int MAXTHREADS
public final double PRECISION
public final boolean CUTSENABLED
public final boolean EXPORT_MODEL
public final String EXPORT_MASTER_DIR
public final boolean QUICK_RETURN_AFTER_CUTS_FOUND
CutHandler
invokes the AbstractCutGenerator
(s) one by one to generate inequalities. When a particular cutGenerator does not yield any inequalities,
the cutHandler will move on to the next registered cutGenerator. When quickReturnAfterCutsFound is set to true, the cutHandler
will return as soon as any inequalities have been found. When set to false, all cutGenerators will be invoked. Default: trueprotected Configuration()
protected Configuration(Properties properties)
properties
- properties in filepublic static Configuration getConfiguration()
public static void readFromFile(Properties properties)
properties
- file containing the configuration.Copyright © 2016. All rights reserved.