ULSAlgorithms 1.1.0-g3e5595996d
High-performance exact and heuristic algorithms for uncapacitated lot sizing
Loading...
Searching...
No Matches
LsCutKey.cs
Go to the documentation of this file.
2
4
5internal static class LsCutKey
6{
7 internal static string Create(
8 LsCutDefinition definition)
9 {
10 ArgumentNullException.ThrowIfNull(definition);
11
12 return definition.L.ToString(
13 System.Globalization.CultureInfo.InvariantCulture) +
14 ":" +
15 string.Join(
16 ",",
17 definition.S);
18 }
19}
static string Create(LsCutDefinition definition)
Definition LsCutKey.cs:7
Solver-independent definition of one ULS (l,S) inequality.
int L
Gets l in the (l,S) notation.
IReadOnlyList< int > S
Gets a sorted defensive snapshot of S.