| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
 | | Quintiq file version 2.0 |  | #parent: #root |  | Method BenchmarkProblem ( |  |   String name, |  |   Number size, |  |   String KPI0Description, |  |   Real bestKnownKPI0Score, |  |   String KPI1Description, |  |   Real bestKnownKPI1Score, |  |   String KPI2Description, |  |   Real bestKnownKPI2Score, |  |   String KPI3Description, |  |   Real bestKnownKPI3Score, |  |   String description, |  |   String bestKnownSource |  | ) |  | { |  |   Description: 'Maintain by R&D' |  |   TextBody: |  |   [* |  |     // jasperb Feb-22-2012 (created) |  |      |  |     if( this.BenchmarkProblemId() <> -1 ) |  |     { |  |       error( 'BenchmarkUtilities::BenchmarkProblem was called already '); |  |     } |  |      |  |     if( this.BenchmarkId() = -1 ) |  |     { |  |       error( 'BenchmarkUtilities::Benchmark was not called or failed' ); |  |     } |  |      |  |     benchmarkproblemid := this.GetOrCreate( "benchmarkproblem", |  |                                             "benchmarkid,name", |  |                                             "size,kpi0description,bestknownkpi0score,kpi1description,bestknownkpi1score,kpi2description,bestknownkpi2score,kpi3description,bestknownkpi3score,description,bestknownsource", |  |                                             [String] this.BenchmarkId() + ",'" + name + "'", |  |                                             [String] size + ",'" + |  |                                             KPI0Description + "'," + |  |                                             [String] bestKnownKPI0Score + ",'" + |  |                                             KPI1Description + "'," + |  |                                             [String] bestKnownKPI1Score + ",'" + |  |                                             KPI2Description + "'," + |  |                                             [String] bestKnownKPI2Score + ",'" + |  |                                             KPI3Description + "'," + |  |                                             [String] bestKnownKPI3Score + ",'" + |  |                                             description + "','" + |  |                                             bestKnownSource + "'" ); |  |      |  |     this.BenchmarkProblemId(benchmarkproblemid); |  |   *] |  | } | 
 |