LotSizingDataModel.Solution
2.0.1
Solution objects for production, setup, inventory and related decisions.
Loading...
Searching...
No Matches
InventoryDecision.InitialInventory.cs
Go to the documentation of this file.
1
using
System;
2
using
System.Xml.Serialization;
3
4
namespace
LotSizingDataModel.Solution.Decisions
;
5
6
/// <summary>
7
/// Adds the explicit period-zero stock decision to an inventory decision.
8
/// </summary>
9
public
sealed
partial class
InventoryDecision
10
{
11
private
double
_initialInventoryLevel;
12
13
/// <summary>
14
/// Gets or sets the optimized stock available before period 1.
15
/// </summary>
16
[XmlAttribute(
"initialInventoryLevel"
)]
17
public
double
InitialInventoryLevel
18
{
19
get
=> _initialInventoryLevel;
20
set
21
{
22
if
(!
double
.IsFinite(value) || value < 0.0)
23
{
24
throw
new
ArgumentOutOfRangeException(
25
nameof(value),
26
value,
27
"The initial inventory level must be finite and non-negative."
);
28
}
29
30
SetProperty(ref _initialInventoryLevel, value);
31
}
32
}
33
}
LotSizingDataModel.Solution.Decisions.InventoryDecision
Stores the inventory decisions associated with one item and one warehouse over the complete planning ...
Definition
InventoryDecision.cs:26
LotSizingDataModel.Solution.Decisions.InventoryDecision.InitialInventoryLevel
double InitialInventoryLevel
Gets or sets the optimized stock available before period 1.
Definition
InventoryDecision.InitialInventory.cs:18
LotSizingDataModel.Solution.Decisions
Definition
ClosedLoopDecision.cs:6
LotSizingDataModel.Solution
Decisions
InventoryDecision.InitialInventory.cs
Generated by
1.17.0