11 int? itemCount =
null,
12 int? periodCount =
null,
18 throw new ArgumentNullException(nameof(singleItem));
20 if (itemCount is <= 0)
22 throw new ArgumentOutOfRangeException(
25 "NI must be positive when supplied.");
28 if (periodCount is <= 0)
30 throw new ArgumentOutOfRangeException(
33 "NT must be positive when supplied.");
52 var blocks =
new List<string>();
66 blocks.Add($
"{{NI={ItemCount.Value}}}");
71 blocks.Add($
"{{NT={PeriodCount.Value}}}");
79 return string.Concat(blocks);
WolseyMultiLevelClassification? MultiLevel
override string ToString()
WolseyExtendedClassification(WolseySingleItemClassification singleItem, int? itemCount=null, int? periodCount=null, WolseyMachineClassification? machines=null, WolseyMultiLevelClassification? multiLevel=null)
WolseyMachineClassification? Machines
WolseySingleItemClassification SingleItem
Typed representation of the machine block {NK=#,[IM,VM],[LT]*,[SB1,SB2,BB],[SET,ST,...
Typed representation of Wolsey's multi-level block {NL=#,[G,A,S]}.
Lossless typed representation of Wolsey's PROB-CAP-VAR single-item classification.