LotSizingDataModel.Checker.Cli
2.0.1
Command-line interface for solution checking and validation workflows.
Loading...
Searching...
No Matches
CliHelp.cs
Go to the documentation of this file.
1
namespace
LotSizingDataModel.Checker.Cli
;
2
3
internal
static
class
CliHelp
4
{
5
public
const
string
Version
=
"1.0.0"
;
6
7
public
static
void
Write
()
8
{
9
Console.WriteLine(
10
"LotSizingDataModel generic solution checker CLI\n"
+
11
"\n"
+
12
"Usage:\n"
+
13
" checker <directory> [options]\n"
+
14
"\n"
+
15
"Core options:\n"
+
16
" -o, --output <dir> Report directory.\n"
+
17
" -j, --parallelism <n> Maximum concurrent checks.\n"
+
18
" --level <level> structural | feasibility | full.\n"
+
19
" --search-pattern <pattern> XML search pattern (default: *.xml).\n"
+
20
" --no-recursive Do not scan subdirectories.\n"
+
21
" --strict-xml Non-instance XML becomes a load failure.\n"
+
22
" --no-reports Do not write campaign report files.\n"
+
23
" --no-progress, --quiet Disable progress output.\n"
+
24
"\n"
+
25
"Known-result filters:\n"
+
26
" --result-id <id> Exact KnownResult identifier.\n"
+
27
" --result-name-contains <text> Case-insensitive name substring.\n"
+
28
"\n"
+
29
"Numerical tolerances:\n"
+
30
" --feasibility-tolerance <x>\n"
+
31
" --zero-tolerance <x>\n"
+
32
" --integrality-tolerance <x>\n"
+
33
" --objective-absolute-tolerance <x>\n"
+
34
" --objective-relative-tolerance <x>\n"
+
35
"\n"
+
36
"Checker policy:\n"
+
37
" --continue-after-structural-errors\n"
+
38
" --include-disabled-constraints\n"
+
39
" --no-apply-evaluation\n"
+
40
" --no-update-known-result\n"
+
41
" --no-promote-known-result\n"
+
42
" --evaluator-name <name>\n"
+
43
" --evaluator-version <version>\n"
+
44
"\n"
+
45
"Report policy:\n"
+
46
" --max-issues <n> 0 means unlimited.\n"
+
47
" --no-info Hide informational issue details.\n"
+
48
" --no-warnings Hide warning issue details.\n"
+
49
"\n"
+
50
"Other:\n"
+
51
" -h, --help Show this help.\n"
+
52
" --version Show CLI version.\n"
+
53
"\n"
+
54
"Exit codes:\n"
+
55
" 0 All selected candidates are valid and execution succeeded.\n"
+
56
" 1 At least one checked candidate is invalid.\n"
+
57
" 2 File loading or candidate execution failed.\n"
+
58
" 3 Invalid command-line arguments or campaign configuration.\n"
+
59
" 4 Cancelled by the user.\n"
+
60
" 5 Unexpected application failure.\n"
+
61
"\n"
+
62
"Examples:\n"
+
63
" checker C:\\Benchmarks\\NouveauFormat\n"
+
64
" checker ./instances --level feasibility -j 4\n"
+
65
" checker ./instances --result-name-contains CPLEX --no-info\n"
+
66
" checker ./instances --objective-abs-tol=1e-7 --no-progress"
);
67
}
68
}
LotSizingDataModel.Checker.Cli.CliHelp
Definition
CliHelp.cs:4
LotSizingDataModel.Checker.Cli.CliHelp.Write
static void Write()
Definition
CliHelp.cs:7
LotSizingDataModel.Checker.Cli.CliHelp.Version
const string Version
Definition
CliHelp.cs:5
LotSizingDataModel.Checker.Cli
Definition
CliExitCode.cs:1
LotSizingDataModel.Checker.Cli
Cli
CliHelp.cs
Generated by
1.17.0