Class KRelaxationSolverConfigurator

java.lang.Object
com.artelys.kalis.KCopiableRelaxationSolverConfigurator
com.artelys.kalis.KRelaxationSolverConfigurator
Direct Known Subclasses:
KLinearRelaxationSolverConfigurator

public class KRelaxationSolverConfigurator extends KCopiableRelaxationSolverConfigurator
  • Constructor Details

    • KRelaxationSolverConfigurator

      protected KRelaxationSolverConfigurator(long cPtr, boolean cMemoryOwn)
    • KRelaxationSolverConfigurator

      public KRelaxationSolverConfigurator(com.artelys.kalis.SWIGTYPE_p_KRelaxationSolverConfigurator_I configurator)
  • Method Details

    • getCPtr

      protected static long getCPtr(KRelaxationSolverConfigurator obj)
    • finalize

      protected void finalize()
      Overrides:
      finalize in class KCopiableRelaxationSolverConfigurator
    • delete

      public void delete()
      Overrides:
      delete in class KCopiableRelaxationSolverConfigurator
    • getProblem

      public KProblem getProblem()
    • beforeEvent

      public void beforeEvent()
    • mustRelax

      public boolean mustRelax()
    • afterEvent

      public void afterEvent(int status)
    • solveAsMIP

      public boolean solveAsMIP()
    • usePresolve

      public boolean usePresolve()
    • getAlgorithm

      public int getAlgorithm()
    • setAlgorithm

      public void setAlgorithm(int alg)
      Set the algorithm flag
    • setOptimalityTolerance

      public void setOptimalityTolerance(double optimalityTolerance)
      Set the minimal desired optimality tolerance (LP)*
    • setMipRelativeOptimalityTolerance

      public void setMipRelativeOptimalityTolerance(double optimalityTolerance)
      Set the minimal desired relative optimality tolerance (MIP) *
    • setMipAbsoluteOptimalityTolerance

      public void setMipAbsoluteOptimalityTolerance(double optimalityTolerance)
      Set the minimal desired absolute optimality tolerance (MIP) *
    • useReducedCostFixing

      public boolean useReducedCostFixing()
    • setuseReducedCostFixing

      public void setuseReducedCostFixing(boolean urcf)
    • getOptimalityTolerance

      public double getOptimalityTolerance()
      minimal desired optimality tolerance *
    • getMipRelativeOptimalityTolerance

      public double getMipRelativeOptimalityTolerance()
      minimal desired optimality tolerance *
    • getMipAbsoluteOptimalityTolerance

      public double getMipAbsoluteOptimalityTolerance()
      minimal desired optimality tolerance *
    • setRelaxationSolver

      public void setRelaxationSolver(KRelaxationSolver relaxationSolver)
    • setSolver

      public void setSolver(KSolver solver)
    • setsolveAsMIP

      public void setsolveAsMIP(boolean sam)
    • setusePresolve

      public void setusePresolve(boolean up)
    • setIntControl

      public void setIntControl(int param, int value)
    • setDoubleControl

      public void setDoubleControl(int param, double value)
    • getNumberOfIntegerControls

      public int getNumberOfIntegerControls()
    • getNumberOfDoubleControls

      public int getNumberOfDoubleControls()
    • getIntegerControlParam

      public int getIntegerControlParam(int numparam)
    • getIntegerControlValue

      public int getIntegerControlValue(int control)
    • getDoubleControlParam

      public double getDoubleControlParam(int numparam)
    • getDoubleControlValue

      public double getDoubleControlValue(int control)
    • forceContradiction

      public void forceContradiction()