Show / Hide Table of Contents

    Struct glp_smcp

    Configuration for GLPK Simplex

    Inherited Members
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    Namespace: OPTANO.Modeling.Optimization.Solver.GLPK
    Assembly: Optimization.Solver.GLPK.dll
    Syntax
    public struct glp_smcp

    Fields

    GLP_DUAL

    Use dual simplex

    Declaration
    public const int GLP_DUAL = 3
    Field Value
    Type Description
    System.Int32

    GLP_DUALP

    Use dual simplex with fallback on primal simplex

    Declaration
    public const int GLP_DUALP = 2
    Field Value
    Type Description
    System.Int32

    GLP_MSG_ALL

    All messages including information

    Declaration
    public const int GLP_MSG_ALL = 3
    Field Value
    Type Description
    System.Int32

    GLP_MSG_ERR

    Only error messages

    Declaration
    public const int GLP_MSG_ERR = 1
    Field Value
    Type Description
    System.Int32

    GLP_MSG_OFF

    All messages off

    Declaration
    public const int GLP_MSG_OFF = 0
    Field Value
    Type Description
    System.Int32

    GLP_MSG_ON

    Only error and warn messages

    Declaration
    public const int GLP_MSG_ON = 2
    Field Value
    Type Description
    System.Int32

    GLP_OFF

    Switch off

    Declaration
    public const int GLP_OFF = 0
    Field Value
    Type Description
    System.Int32

    GLP_ON

    Switch on

    Declaration
    public const int GLP_ON = 1
    Field Value
    Type Description
    System.Int32

    GLP_PRIMAL

    Use primal simplex

    Declaration
    public const int GLP_PRIMAL = 1
    Field Value
    Type Description
    System.Int32

    GLP_PT_PSE

    Use steepest edge

    Declaration
    public const int GLP_PT_PSE = 34
    Field Value
    Type Description
    System.Int32

    GLP_PT_STD

    Use default

    Declaration
    public const int GLP_PT_STD = 17
    Field Value
    Type Description
    System.Int32

    GLP_RT_HAR

    Use Harris' two-pass ration method

    Declaration
    public const int GLP_RT_HAR = 34
    Field Value
    Type Description
    System.Int32

    GLP_RT_STD

    Use standard

    Declaration
    public const int GLP_RT_STD = 17
    Field Value
    Type Description
    System.Int32

    it_lim

    Simplex iteration limit (default: INT_MAX)

    Declaration
    public int? it_lim
    Field Value
    Type Description
    System.Nullable<System.Int32>

    meth

    Simplex method GLP_PRIMAT GLP_DUAL GLP_DUALP (Dual with switchback to primal)

    Declaration
    public int? meth
    Field Value
    Type Description
    System.Nullable<System.Int32>

    msg_lev

    Message Level GLP_MSG_OFF: no messages at all GLP_MSG_ERR: only error and warning messages GLP_MSG_ON: default output GLP_MSG_ALL: error, warnings and informations

    Declaration
    public int? msg_lev
    Field Value
    Type Description
    System.Nullable<System.Int32>

    obj_ll

    Lower limit on objective. Any lower value during optimization will terminate. (default: -DBL_MAX)

    Declaration
    public double? obj_ll
    Field Value
    Type Description
    System.Nullable<System.Double>

    obj_ul

    Upper limit on objective. Any higher value during optimization will terminate. (default: DBL_MAX)

    Declaration
    public double? obj_ul
    Field Value
    Type Description
    System.Nullable<System.Double>

    presolve

    Switches the presolve on/off GLP_ON: presolve on GLP_OFF: presolve off

    Declaration
    public int? presolve
    Field Value
    Type Description
    System.Nullable<System.Int32>

    pricing

    Pricing method GLP_PT_STD: default; GLP_PT_PSE: projected steepest edge

    Declaration
    public int? pricing
    Field Value
    Type Description
    System.Nullable<System.Int32>

    r_test

    Ratio test method GLP_RT_STD: standard (\textbook"); GLP_RT_HAR: Harris’ two-pass ratio test.

    Declaration
    public int? r_test
    Field Value
    Type Description
    System.Nullable<System.Int32>

    tm_lim

    Timelimit of search

    Declaration
    public TimeSpan? tm_lim
    Field Value
    Type Description
    System.Nullable<System.TimeSpan>

    tol_bnd

    Tolerance for primal feasibility (default: 1e-7)

    Declaration
    public double? tol_bnd
    Field Value
    Type Description
    System.Nullable<System.Double>

    tol_dj

    Tolerance for dual feasibility (default: 1e-7)

    Declaration
    public double? tol_dj
    Field Value
    Type Description
    System.Nullable<System.Double>

    tol_piv

    Tolerance for choosing eligble pivotal elements of the simplex table (default: 1e-9)

    Declaration
    public double? tol_piv
    Field Value
    Type Description
    System.Nullable<System.Double>

    Extension Methods

    ExtensionMethods.Clone<T>(T)
    ReflectionHelper.GetFieldValue(Object, String)
    ReflectionHelper.SetFieldValue(Object, String, Object)