BoundControl

Controls for functions related to bound

IsUsePrimalBound

public override bool IsUsePrimalBound()

Definition

Sets whether the logic to get the primal bound from state is applied.

Return

Type
Description
Default

Boolean

True: Apply logic to find the primal bound. False: Do not apply logic to find the primal bound.

True

Example (Default Logic)

public override bool IsUsePrimalBound()
{
    return true;
}

IsUseDualBound

public override bool IsUseDualBound()

Definition

Sets whether the logic to get the dual bound from state is applied.

Return

Type
Description
Default

Boolean

True: Apply logic to find the dual bound. False: Do not apply logic to find the dual bound.

True

Example (Default Logic)

GetPruneTolerance

Definition

The tolerance used to determine whether the state can be pruned without loss of optimality.

Return

Type
Description
Default

Double

The prune tolerence.

0.0001

Example (Default Logic)

GetPrimalBoundStopStageIndex

Definition

Sets the index of the stage that stops applying the logic to obtain the primal bound. (i.e., the primal bound is not obtained from that stage.)

Return

Type
Description
Default

Integer

The starting stage index for which the primal bound will not be obtained.

Int32.MaxValue

Example (Default Logic)

GetPrimalBoundStopRelativeGap

Definition

Sets a relative duality gap at which to stop applying the logic to find the primal bound. (i.e., primal bound will not be found when the relative duality gap is satisfied.)

Relative duality gap = |Best dual bound - Best primal bound| / Best dual bound

Return

Type
Description
Default

Double

The relative duality gap for which the primal bound will not be obtained.

0

Example (Default Logic)

GetDualBoundStopStageIndex

Definition

Sets the index of the stage that stops applying the logic to obtain the dual bound. (i.e., dual bound is not obtained from that stage.)

Return

Type
Description
Default

Integer

The starting stage index for which the dual bound will not be obtained.

Int32.MaxValue

Example (Default Logic)

GetDualBoundStopRelativeGap

Definition

Sets a relative duality gap at which to stop applying the logic to find the dual bound. (i.e., dual bound will not be found when the relative duality gap is satisfied.)

Return

Type
Description
Default

Double

The relative duality gap for which the dual bound will not be obtained.

0

Example (Default Logic)

GetInitialPrimalBound

Definition

Returns the initial primal bound value.

Parameters

Type
Description

ObjectiveFunctionType

The objective function type of the problem.

Return

Type
Description
Default

Double

The initial primal bound value.

Example (Default Logic)

GetInitialDualBound

Definition

Returns the initial dual bound value.

Parameters

Type
Description

ObjectiveFunctionType

The objective function type of the problem.

Return

Type
Description
Default

Double

The initial dual bound value.

Example (Default Logic)

UseAbsoluteOptimalityGap

Definition

Whether to terminate the search based on the absolute duality gap (the absolute difference between the primal bound and dual bound), i.e., terminate the search if the absolute duality gap is below the set value.

Absolute duality gap = |Best dual bound - Best primal bound|

Return

Type
Description
Default

Boolean

True: Apply False: Do not apply (relative optimality gap will be applied)

False

Example (Default Logic)

GetRelativeOptimalityGap

Definition

Sets the relative duality gap at which to stop exploration, i.e., if the relative duality gap value is below the set value, the exploration is terminated.

Relative Duality Gap = |Best Dual Bound - Best Primal Bound| / Best Dual Bound

Return

Type
Description
Default

Double

The relative duality gap, which is the condition for terminating the search.

0

Example (Default Logic)

GetAbsoluteOptimalityGap

Definition

Sets the absolute duality gap at which to stop exploration, i.e., if the absolute duality gap value is below the set value, the exploration is terminated.

Return

Type
Description
Default

Double

The absolute duality gap, which is the condition for terminating the search.

0

Example (Default Logic)

GetDualBound

Definition

Returns the dual bound of the given state.

Parameters

Type
Description

State

The state to obtain dual bound.

Return

Type
Description
Default

Double

Dual bound value of the state.

0

Example

GetPrimalBound

Definition

Returns the primal bound corresponding to the given feasible solution.

Parameters

Type
Description

Solution

The feasible solution to obtain primal bound.

Return

Type
Description
Default

Double

The primal bound value.

Example (Default Logic)

GetPrimalSolutionUpdatePeriod

Definition

Returns the state count interval to apply the logic to find the primal solution in the state. For example, if you set the interval to 1000, the logic will be applied to find the primal solution once every 1000 states.

Return

Type
Description
Default

Integer

The frequency at which to apply the logic to find the primal solution.

1000

Example (Default Logic)

GetDualBoundUpdatePeriod

Definition

Returns the state count interval to apply the logic to find the dual bound in the state. For example, if you set the interval to 1000, the logic will be applied to calculate the dual bound once every 1000 states.

Return

Type
Description
Default

Integer

The frequency at which to apply the logic to calculate the dual bound.

1

Example (Default Logic)

Last updated