Class mainJNI

java.lang.Object
com.google.ortools.linearsolver.mainJNI

public class mainJNI extends Object
  • Constructor Details

    • mainJNI

      public mainJNI()
  • Method Details

    • MPSolver_CLP_LINEAR_PROGRAMMING_get

      public static final int MPSolver_CLP_LINEAR_PROGRAMMING_get()
    • MPSolver_GLPK_LINEAR_PROGRAMMING_get

      public static final int MPSolver_GLPK_LINEAR_PROGRAMMING_get()
    • MPSolver_GLOP_LINEAR_PROGRAMMING_get

      public static final int MPSolver_GLOP_LINEAR_PROGRAMMING_get()
    • MPSolver_PDLP_LINEAR_PROGRAMMING_get

      public static final int MPSolver_PDLP_LINEAR_PROGRAMMING_get()
    • MPSolver_SCIP_MIXED_INTEGER_PROGRAMMING_get

      public static final int MPSolver_SCIP_MIXED_INTEGER_PROGRAMMING_get()
    • MPSolver_GLPK_MIXED_INTEGER_PROGRAMMING_get

      public static final int MPSolver_GLPK_MIXED_INTEGER_PROGRAMMING_get()
    • MPSolver_CBC_MIXED_INTEGER_PROGRAMMING_get

      public static final int MPSolver_CBC_MIXED_INTEGER_PROGRAMMING_get()
    • MPSolver_BOP_INTEGER_PROGRAMMING_get

      public static final int MPSolver_BOP_INTEGER_PROGRAMMING_get()
    • MPSolver_SAT_INTEGER_PROGRAMMING_get

      public static final int MPSolver_SAT_INTEGER_PROGRAMMING_get()
    • MPSolver_GUROBI_LINEAR_PROGRAMMING_get

      public static final int MPSolver_GUROBI_LINEAR_PROGRAMMING_get()
    • MPSolver_GUROBI_MIXED_INTEGER_PROGRAMMING_get

      public static final int MPSolver_GUROBI_MIXED_INTEGER_PROGRAMMING_get()
    • MPSolver_CPLEX_LINEAR_PROGRAMMING_get

      public static final int MPSolver_CPLEX_LINEAR_PROGRAMMING_get()
    • MPSolver_CPLEX_MIXED_INTEGER_PROGRAMMING_get

      public static final int MPSolver_CPLEX_MIXED_INTEGER_PROGRAMMING_get()
    • MPSolver_XPRESS_LINEAR_PROGRAMMING_get

      public static final int MPSolver_XPRESS_LINEAR_PROGRAMMING_get()
    • MPSolver_XPRESS_MIXED_INTEGER_PROGRAMMING_get

      public static final int MPSolver_XPRESS_MIXED_INTEGER_PROGRAMMING_get()
    • new_MPSolver

      public static final long new_MPSolver(String jarg1, int jarg2)
    • delete_MPSolver

      public static final void delete_MPSolver(long jarg1)
    • MPSolver_createSolver

      public static final long MPSolver_createSolver(String jarg1)
    • MPSolver_supportsProblemType

      public static final boolean MPSolver_supportsProblemType(int jarg1)
    • MPSolver_isMip

      public static final boolean MPSolver_isMip(long jarg1, MPSolver jarg1_)
    • MPSolver_problemType

      public static final int MPSolver_problemType(long jarg1, MPSolver jarg1_)
    • MPSolver_clear

      public static final void MPSolver_clear(long jarg1, MPSolver jarg1_)
    • MPSolver_numVariables

      public static final int MPSolver_numVariables(long jarg1, MPSolver jarg1_)
    • MPSolver_variables

      public static final MPVariable[] MPSolver_variables(long jarg1, MPSolver jarg1_)
    • MPSolver_variable

      public static final long MPSolver_variable(long jarg1, MPSolver jarg1_, int jarg2)
    • MPSolver_lookupVariableOrNull

      public static final long MPSolver_lookupVariableOrNull(long jarg1, MPSolver jarg1_, String jarg2)
    • MPSolver_makeVar

      public static final long MPSolver_makeVar(long jarg1, MPSolver jarg1_, double jarg2, double jarg3, boolean jarg4, String jarg5)
    • MPSolver_makeNumVar

      public static final long MPSolver_makeNumVar(long jarg1, MPSolver jarg1_, double jarg2, double jarg3, String jarg4)
    • MPSolver_makeIntVar

      public static final long MPSolver_makeIntVar(long jarg1, MPSolver jarg1_, double jarg2, double jarg3, String jarg4)
    • MPSolver_makeBoolVar

      public static final long MPSolver_makeBoolVar(long jarg1, MPSolver jarg1_, String jarg2)
    • MPSolver_numConstraints

      public static final int MPSolver_numConstraints(long jarg1, MPSolver jarg1_)
    • MPSolver_constraints

      public static final MPConstraint[] MPSolver_constraints(long jarg1, MPSolver jarg1_)
    • MPSolver_constraint

      public static final long MPSolver_constraint(long jarg1, MPSolver jarg1_, int jarg2)
    • MPSolver_lookupConstraintOrNull

      public static final long MPSolver_lookupConstraintOrNull(long jarg1, MPSolver jarg1_, String jarg2)
    • MPSolver_makeConstraint__SWIG_0

      public static final long MPSolver_makeConstraint__SWIG_0(long jarg1, MPSolver jarg1_, double jarg2, double jarg3)
    • MPSolver_makeConstraint__SWIG_1

      public static final long MPSolver_makeConstraint__SWIG_1(long jarg1, MPSolver jarg1_)
    • MPSolver_makeConstraint__SWIG_2

      public static final long MPSolver_makeConstraint__SWIG_2(long jarg1, MPSolver jarg1_, double jarg2, double jarg3, String jarg4)
    • MPSolver_makeConstraint__SWIG_3

      public static final long MPSolver_makeConstraint__SWIG_3(long jarg1, MPSolver jarg1_, String jarg2)
    • MPSolver_objective

      public static final long MPSolver_objective(long jarg1, MPSolver jarg1_)
    • MPSolver_NOT_SOLVED_get

      public static final int MPSolver_NOT_SOLVED_get()
    • MPSolver_solve__SWIG_0

      public static final int MPSolver_solve__SWIG_0(long jarg1, MPSolver jarg1_)
    • MPSolver_solve__SWIG_1

      public static final int MPSolver_solve__SWIG_1(long jarg1, MPSolver jarg1_, long jarg2, MPSolverParameters jarg2_)
    • MPSolver_write

      public static final void MPSolver_write(long jarg1, MPSolver jarg1_, String jarg2)
    • MPSolver_computeConstraintActivities

      public static final double[] MPSolver_computeConstraintActivities(long jarg1, MPSolver jarg1_)
    • MPSolver_verifySolution

      public static final boolean MPSolver_verifySolution(long jarg1, MPSolver jarg1_, double jarg2, boolean jarg3)
    • MPSolver_reset

      public static final void MPSolver_reset(long jarg1, MPSolver jarg1_)
    • MPSolver_interruptSolve

      public static final boolean MPSolver_interruptSolve(long jarg1, MPSolver jarg1_)
    • MPSolver_setSolverSpecificParametersAsString

      public static final boolean MPSolver_setSolverSpecificParametersAsString(long jarg1, MPSolver jarg1_, String jarg2)
    • MPSolver_FREE_get

      public static final int MPSolver_FREE_get()
    • MPSolver_infinity

      public static final double MPSolver_infinity()
    • MPSolver_enableOutput

      public static final void MPSolver_enableOutput(long jarg1, MPSolver jarg1_)
    • MPSolver_suppressOutput

      public static final void MPSolver_suppressOutput(long jarg1, MPSolver jarg1_)
    • MPSolver_iterations

      public static final long MPSolver_iterations(long jarg1, MPSolver jarg1_)
    • MPSolver_nodes

      public static final long MPSolver_nodes(long jarg1, MPSolver jarg1_)
    • MPSolver_solverVersion

      public static final String MPSolver_solverVersion(long jarg1, MPSolver jarg1_)
    • MPSolver_computeExactConditionNumber

      public static final double MPSolver_computeExactConditionNumber(long jarg1, MPSolver jarg1_)
    • MPSolver_setTimeLimit

      public static final void MPSolver_setTimeLimit(long jarg1, MPSolver jarg1_, long jarg2)
    • MPSolver_wallTime

      public static final long MPSolver_wallTime(long jarg1, MPSolver jarg1_)
    • MPSolver_loadModelFromProto

      public static final String MPSolver_loadModelFromProto(long jarg1, MPSolver jarg1_, byte[] jarg2)
    • MPSolver_loadModelFromProtoKeepNames

      public static final String MPSolver_loadModelFromProtoKeepNames(long jarg1, MPSolver jarg1_, byte[] jarg2)
    • MPSolver_loadModelFromProtoWithUniqueNamesOrDie

      public static final String MPSolver_loadModelFromProtoWithUniqueNamesOrDie(long jarg1, MPSolver jarg1_, byte[] jarg2)
    • MPSolver_exportModelToProto

      public static final byte[] MPSolver_exportModelToProto(long jarg1, MPSolver jarg1_)
    • MPSolver_createSolutionResponseProto

      public static final byte[] MPSolver_createSolutionResponseProto(long jarg1, MPSolver jarg1_)
    • MPSolver_loadSolutionFromProto

      public static final boolean MPSolver_loadSolutionFromProto(long jarg1, MPSolver jarg1_, byte[] jarg2)
    • MPSolver_solveWithProto

      public static final byte[] MPSolver_solveWithProto(byte[] jarg1)
    • MPSolver_exportModelAsLpFormat__SWIG_0

      public static final String MPSolver_exportModelAsLpFormat__SWIG_0(long jarg1, MPSolver jarg1_, boolean jarg2)
    • MPSolver_exportModelAsLpFormat__SWIG_1

      public static final String MPSolver_exportModelAsLpFormat__SWIG_1(long jarg1, MPSolver jarg1_)
    • MPSolver_exportModelAsMpsFormat

      public static final String MPSolver_exportModelAsMpsFormat(long jarg1, MPSolver jarg1_, boolean jarg2, boolean jarg3)
    • MPSolver_writeModelToMpsFile

      public static final boolean MPSolver_writeModelToMpsFile(long jarg1, MPSolver jarg1_, String jarg2, boolean jarg3, boolean jarg4)
    • MPSolver_setHint

      public static final void MPSolver_setHint(long jarg1, MPSolver jarg1_, MPVariable[] jarg2, double[] jarg3)
    • MPSolver_setNumThreads

      public static final boolean MPSolver_setNumThreads(long jarg1, MPSolver jarg1_, int jarg2)
    • MPObjective_clear

      public static final void MPObjective_clear(long jarg1, MPObjective jarg1_)
    • MPObjective_setCoefficient

      public static final void MPObjective_setCoefficient(long jarg1, MPObjective jarg1_, long jarg2, MPVariable jarg2_, double jarg3)
    • MPObjective_getCoefficient

      public static final double MPObjective_getCoefficient(long jarg1, MPObjective jarg1_, long jarg2, MPVariable jarg2_)
    • MPObjective_setOffset

      public static final void MPObjective_setOffset(long jarg1, MPObjective jarg1_, double jarg2)
    • MPObjective_offset

      public static final double MPObjective_offset(long jarg1, MPObjective jarg1_)
    • MPObjective_setOptimizationDirection

      public static final void MPObjective_setOptimizationDirection(long jarg1, MPObjective jarg1_, boolean jarg2)
    • MPObjective_setMinimization

      public static final void MPObjective_setMinimization(long jarg1, MPObjective jarg1_)
    • MPObjective_setMaximization

      public static final void MPObjective_setMaximization(long jarg1, MPObjective jarg1_)
    • MPObjective_maximization

      public static final boolean MPObjective_maximization(long jarg1, MPObjective jarg1_)
    • MPObjective_minimization

      public static final boolean MPObjective_minimization(long jarg1, MPObjective jarg1_)
    • MPObjective_value

      public static final double MPObjective_value(long jarg1, MPObjective jarg1_)
    • MPObjective_bestBound

      public static final double MPObjective_bestBound(long jarg1, MPObjective jarg1_)
    • delete_MPObjective

      public static final void delete_MPObjective(long jarg1)
    • MPVariable_name

      public static final String MPVariable_name(long jarg1, MPVariable jarg1_)
    • MPVariable_setInteger

      public static final void MPVariable_setInteger(long jarg1, MPVariable jarg1_, boolean jarg2)
    • MPVariable_solutionValue

      public static final double MPVariable_solutionValue(long jarg1, MPVariable jarg1_)
    • MPVariable_index

      public static final int MPVariable_index(long jarg1, MPVariable jarg1_)
    • MPVariable_lb

      public static final double MPVariable_lb(long jarg1, MPVariable jarg1_)
    • MPVariable_ub

      public static final double MPVariable_ub(long jarg1, MPVariable jarg1_)
    • MPVariable_setLb

      public static final void MPVariable_setLb(long jarg1, MPVariable jarg1_, double jarg2)
    • MPVariable_setUb

      public static final void MPVariable_setUb(long jarg1, MPVariable jarg1_, double jarg2)
    • MPVariable_setBounds

      public static final void MPVariable_setBounds(long jarg1, MPVariable jarg1_, double jarg2, double jarg3)
    • MPVariable_reducedCost

      public static final double MPVariable_reducedCost(long jarg1, MPVariable jarg1_)
    • MPVariable_basisStatus

      public static final int MPVariable_basisStatus(long jarg1, MPVariable jarg1_)
    • delete_MPVariable

      public static final void delete_MPVariable(long jarg1)
    • MPConstraint_name

      public static final String MPConstraint_name(long jarg1, MPConstraint jarg1_)
    • MPConstraint_setCoefficient

      public static final void MPConstraint_setCoefficient(long jarg1, MPConstraint jarg1_, long jarg2, MPVariable jarg2_, double jarg3)
    • MPConstraint_getCoefficient

      public static final double MPConstraint_getCoefficient(long jarg1, MPConstraint jarg1_, long jarg2, MPVariable jarg2_)
    • MPConstraint_lb

      public static final double MPConstraint_lb(long jarg1, MPConstraint jarg1_)
    • MPConstraint_ub

      public static final double MPConstraint_ub(long jarg1, MPConstraint jarg1_)
    • MPConstraint_setLb

      public static final void MPConstraint_setLb(long jarg1, MPConstraint jarg1_, double jarg2)
    • MPConstraint_setUb

      public static final void MPConstraint_setUb(long jarg1, MPConstraint jarg1_, double jarg2)
    • MPConstraint_setBounds

      public static final void MPConstraint_setBounds(long jarg1, MPConstraint jarg1_, double jarg2, double jarg3)
    • MPConstraint_isLazy

      public static final boolean MPConstraint_isLazy(long jarg1, MPConstraint jarg1_)
    • MPConstraint_setIsLazy

      public static final void MPConstraint_setIsLazy(long jarg1, MPConstraint jarg1_, boolean jarg2)
    • MPConstraint_index

      public static final int MPConstraint_index(long jarg1, MPConstraint jarg1_)
    • MPConstraint_dualValue

      public static final double MPConstraint_dualValue(long jarg1, MPConstraint jarg1_)
    • MPConstraint_basisStatus

      public static final int MPConstraint_basisStatus(long jarg1, MPConstraint jarg1_)
    • delete_MPConstraint

      public static final void delete_MPConstraint(long jarg1)
    • MPSolverParameters_RELATIVE_MIP_GAP_get

      public static final int MPSolverParameters_RELATIVE_MIP_GAP_get()
    • MPSolverParameters_PRIMAL_TOLERANCE_get

      public static final int MPSolverParameters_PRIMAL_TOLERANCE_get()
    • MPSolverParameters_DUAL_TOLERANCE_get

      public static final int MPSolverParameters_DUAL_TOLERANCE_get()
    • MPSolverParameters_PRESOLVE_get

      public static final int MPSolverParameters_PRESOLVE_get()
    • MPSolverParameters_LP_ALGORITHM_get

      public static final int MPSolverParameters_LP_ALGORITHM_get()
    • MPSolverParameters_INCREMENTALITY_get

      public static final int MPSolverParameters_INCREMENTALITY_get()
    • MPSolverParameters_SCALING_get

      public static final int MPSolverParameters_SCALING_get()
    • MPSolverParameters_PRESOLVE_OFF_get

      public static final int MPSolverParameters_PRESOLVE_OFF_get()
    • MPSolverParameters_PRESOLVE_ON_get

      public static final int MPSolverParameters_PRESOLVE_ON_get()
    • MPSolverParameters_DUAL_get

      public static final int MPSolverParameters_DUAL_get()
    • MPSolverParameters_PRIMAL_get

      public static final int MPSolverParameters_PRIMAL_get()
    • MPSolverParameters_BARRIER_get

      public static final int MPSolverParameters_BARRIER_get()
    • MPSolverParameters_INCREMENTALITY_OFF_get

      public static final int MPSolverParameters_INCREMENTALITY_OFF_get()
    • MPSolverParameters_INCREMENTALITY_ON_get

      public static final int MPSolverParameters_INCREMENTALITY_ON_get()
    • MPSolverParameters_SCALING_OFF_get

      public static final int MPSolverParameters_SCALING_OFF_get()
    • MPSolverParameters_SCALING_ON_get

      public static final int MPSolverParameters_SCALING_ON_get()
    • MPSolverParameters_kDefaultRelativeMipGap_get

      public static final double MPSolverParameters_kDefaultRelativeMipGap_get()
    • MPSolverParameters_kDefaultPrimalTolerance_get

      public static final double MPSolverParameters_kDefaultPrimalTolerance_get()
    • MPSolverParameters_kDefaultDualTolerance_get

      public static final double MPSolverParameters_kDefaultDualTolerance_get()
    • MPSolverParameters_kDefaultPresolve_get

      public static final int MPSolverParameters_kDefaultPresolve_get()
    • MPSolverParameters_kDefaultIncrementality_get

      public static final int MPSolverParameters_kDefaultIncrementality_get()
    • new_MPSolverParameters

      public static final long new_MPSolverParameters()
    • MPSolverParameters_setDoubleParam

      public static final void MPSolverParameters_setDoubleParam(long jarg1, MPSolverParameters jarg1_, int jarg2, double jarg3)
    • MPSolverParameters_setIntegerParam

      public static final void MPSolverParameters_setIntegerParam(long jarg1, MPSolverParameters jarg1_, int jarg2, int jarg3)
    • MPSolverParameters_getDoubleParam

      public static final double MPSolverParameters_getDoubleParam(long jarg1, MPSolverParameters jarg1_, int jarg2)
    • MPSolverParameters_getIntegerParam

      public static final int MPSolverParameters_getIntegerParam(long jarg1, MPSolverParameters jarg1_, int jarg2)
    • delete_MPSolverParameters

      public static final void delete_MPSolverParameters(long jarg1)
    • MPModelExportOptions_Obfuscate_set

      public static final void MPModelExportOptions_Obfuscate_set(long jarg1, MPModelExportOptions jarg1_, boolean jarg2)
    • MPModelExportOptions_Obfuscate_get

      public static final boolean MPModelExportOptions_Obfuscate_get(long jarg1, MPModelExportOptions jarg1_)
    • MPModelExportOptions_LogInvalidNames_set

      public static final void MPModelExportOptions_LogInvalidNames_set(long jarg1, MPModelExportOptions jarg1_, boolean jarg2)
    • MPModelExportOptions_LogInvalidNames_get

      public static final boolean MPModelExportOptions_LogInvalidNames_get(long jarg1, MPModelExportOptions jarg1_)
    • MPModelExportOptions_ShowUnusedVariables_set

      public static final void MPModelExportOptions_ShowUnusedVariables_set(long jarg1, MPModelExportOptions jarg1_, boolean jarg2)
    • MPModelExportOptions_ShowUnusedVariables_get

      public static final boolean MPModelExportOptions_ShowUnusedVariables_get(long jarg1, MPModelExportOptions jarg1_)
    • MPModelExportOptions_MaxLineLength_set

      public static final void MPModelExportOptions_MaxLineLength_set(long jarg1, MPModelExportOptions jarg1_, int jarg2)
    • MPModelExportOptions_MaxLineLength_get

      public static final int MPModelExportOptions_MaxLineLength_get(long jarg1, MPModelExportOptions jarg1_)
    • new_MPModelExportOptions

      public static final long new_MPModelExportOptions()
    • delete_MPModelExportOptions

      public static final void delete_MPModelExportOptions(long jarg1)