public static final class Optimisation.Options extends Object implements Optimisation
Optimisation.Constraint, Optimisation.Integration<M extends Optimisation.Model,S extends Optimisation.Solver>, Optimisation.Model, Optimisation.Objective, Optimisation.Options, Optimisation.Result, Optimisation.Solver, Optimisation.State
Modifier and Type  Field and Description 

NumberContext 
feasibility
Used to determine/validate feasibility.

int 
iterations_abort
The maximmum number of iterations allowed for the solve() command.

int 
iterations_suffice
Calculations will be terminated after this number of iterations if a feasible solution has been
found.

BasicLogger.Printer 
logger_appender
If this is null nothing is printed, if it is not null then progress/debug messages are printed to
that BasicLogger.Printer.

boolean 
logger_detailed
Detailed (debug) logging or not.

Class<? extends Optimisation.Solver> 
logger_solver
Which Optimisation.Solver to debug.

double 
mip_defer
The branchandbound nodes/subproblems come in pairs, and each node has a displacement (the
fractional amount removed by the new bound).

double 
mip_gap
The MIP gap is the difference between the best integer solution found so far and a node's
noninteger solution.

NumberContext 
print
For display only!

NumberContext 
solution
Describes the (required/sufficient) accuracy of the solution.

Boolean 
sparse
Controls if sparse/iterative solvers should be favoured over dense/direct alternatives.

long 
time_abort
The maximmum number of millis allowed for the solve() command.

long 
time_suffice
Calculations will be terminated after this amount of time if a feasible solution has been found.

boolean 
validate
If true models and solvers will validate data at various points.

Constructor and Description 

Options() 
Modifier and Type  Method and Description 

Optimisation.Options 
abort(CalendarDateDuration duration) 
void 
debug(Class<? extends Optimisation.Solver> solver)
Will configure detailed debug logging and validation

<T> Optional<T> 
getConfigurator(Class<T> type) 
void 
progress(Class<? extends Optimisation.Solver> solver)
Will configure high level (low volume) progress logging

void 
setConfigurator(Object configurator) 
Optimisation.Options 
suffice(CalendarDateDuration duration) 
public NumberContext feasibility
public int iterations_abort
public int iterations_suffice
public BasicLogger.Printer logger_appender
public boolean logger_detailed
public Class<? extends Optimisation.Solver> logger_solver
logger_appender
has been set.public double mip_defer
public double mip_gap
public NumberContext print
public NumberContext solution
public Boolean sparse
public long time_abort
public long time_suffice
public boolean validate
public Optimisation.Options abort(CalendarDateDuration duration)
public void debug(Class<? extends Optimisation.Solver> solver)
public void progress(Class<? extends Optimisation.Solver> solver)
public void setConfigurator(Object configurator)
public Optimisation.Options suffice(CalendarDateDuration duration)
Copyright © 2019 Optimatika. All rights reserved.