InventoryPolicyReorderPointReorderQuantity

open class InventoryPolicyReorderPointReorderQuantity @JvmOverloads constructor(parent: ModelElement, reorderPoint: Int = 0, reorderQty: Int = 1, name: String? = null) : InventoryPolicyAbstract(source)

An (r, Q) inventory policy: orders reorderQty units when the inventory position falls to reorderPoint or below.

When the position drops well below the reorder point so a single reorderQty won't bring it above reorderPoint, the policy orders n × reorderQty where n = ceil((reorderPoint − position) / reorderQty). If separateBatchOrders is true the n batches are ordered as n separate requests; otherwise they go in one consolidated order.

See sc.inventorylayer.InventoryPolicyReorderPointReorderQuantity

Constructors

constructor(parent: ModelElement, reorderPoint: Int = 0, reorderQty: Int = 1, name: String? = null)

Properties

Link copied to clipboard
@set:KSLControl(controlType = ControlType.INTEGER, name = "RDelta", lowerBound = 1.0)
var initialReorderPointDelta: Int

The R = (delta − Q) parameterization used by optimization controls — sets the reorder point so that R + Q = delta.

Link copied to clipboard
@set:KSLControl(controlType = ControlType.INTEGER, name = "Q", lowerBound = 1.0)
var initialReorderQty: Int

The reorder quantity Q (≥ 1).

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

If true, when a deep drop requires multiple batches to clear the reorder point, place n separate replenishment requests of size reorderQty (rather than one consolidated n × reorderQty order).

Functions

Link copied to clipboard
protected open override fun checkInventory()

Decide whether to place a replenishment order now.

Link copied to clipboard
open override fun getPolicyParameters(): DoubleArray

Snapshot the current parameter values.

Link copied to clipboard
open override fun setInitialPolicyParameters(parameters: DoubleArray)

parameters[0] = reorder point (must be ≥ −reorderQty), parameters[1] = reorder quantity (must be ≥ 1).

fun setInitialPolicyParameters(reorderPoint: Int, reorderQty: Int)

Two-argument convenience for setInitialPolicyParameters.

Link copied to clipboard
protected open override fun setPolicyParameters(parameters: DoubleArray)

Change the policy parameters during a replication.

fun setPolicyParameters(reorderPoint: Int, reorderQty: Int)