InventoryPolicyReorderPointOrderUpToLevel

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

An (r, S) inventory policy: when the inventory position falls to reorderPoint or below, orders enough units to bring the position up to orderUpToPoint.

See sc.inventorylayer.InventoryPolicyReorderPointOrderUpToLevel

Constructors

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

Properties

Link copied to clipboard

The initial order-up-to level S = r + SDelta (derived, read-only).

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

The initial order-up-to gap SDelta = S − r (>= 1), applied at the start of each replication; S is derived as r + SDelta. See initialReorderPoint for the initial-vs-current contract and the rationale for the delta parameterization.

Link copied to clipboard
@set:KSLControl(controlType = ControlType.INTEGER, name = "r")
var initialReorderPoint: Int

The initial reorder point r applied at the start of each replication.

Link copied to clipboard
Link copied to clipboard

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)

Replace the parameter vector restored at the start of each replication. Subclasses validate the array shape and contents.

fun setInitialPolicyParameters(reorderPoint: Int, orderUpToPoint: 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, orderUpToPoint: Int)