samples.tutorials.to_sort.packing.parser
Class BinPackingModel
java.lang.Object
parser.instances.AbstractInstanceModel
parser.instances.AbstractMinimizeModel
samples.tutorials.to_sort.packing.parser.BinPackingModel
public class BinPackingModel
- extends AbstractMinimizeModel
- Author:
- Arnaud Malapert
Methods inherited from class parser.instances.AbstractMinimizeModel |
buildObjective, cancelHeuristic, cancelLowerBound, displayChart, getChartManager, getComputedLowerBound, getGapILB, getHeuristic, getValuesMessage, logOnDiagnostics, makeReports, postAnalyzePP, setChartManager, setComputedLowerBound, setHeuristic, solve |
Methods inherited from class parser.instances.AbstractInstanceModel |
applyCP, checkIsSatisfied, checkSolution, checkStatus, consoleReport, databaseReport, getBuildTime, getConfiguration, getConfTime, getDatabaseManager, getFullSecTime, getFullTime, getInitialObjectiveValue, getInstanceName, getModel, getObjectiveValue, getOutputDirectory, getParser, getParseTime, getPreProcTime, getResTime, getSeed, getSolver, getStatus, isDatabaseReporting, isFeasible, load, logOnConfiguration, postAnalyzeCP, setDatabaseManager, setObjective, solveFile, toString |
BinPackingModel
public BinPackingModel(Configuration configuration)
initialize
public void initialize()
- Overrides:
initialize
in class AbstractMinimizeModel
preprocess
public Boolean preprocess()
- Description copied from class:
AbstractInstanceModel
- Executes preprocessing ( bounding, heuristics ...)
default implementation: do nothing.
- Overrides:
preprocess
in class AbstractMinimizeModel
- Returns:
true
if a solution has been found, false
if the infeasibility has been proven and null
otherwise.
buildModel
public Model buildModel()
- Description copied from class:
AbstractInstanceModel
- create the choco model after the preprocessing phase.
- Specified by:
buildModel
in class AbstractInstanceModel
buildSolver
public Solver buildSolver()
- Description copied from class:
AbstractInstanceModel
- create a solver from the current model
- Overrides:
buildSolver
in class AbstractMinimizeModel
makeSolutionChart
protected Object makeSolutionChart()
- Specified by:
makeSolutionChart
in class AbstractMinimizeModel
Copyright © 2012. All Rights Reserved.