Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Optional parametersExample
Cache results file from previous run(s) to avoid re-running runs using the same decision variables as previously
cache C:\Insight\test\Example_Cache.csv
Constraints
constraint $costConstraint

...

Table 2.  Information required to configure an optimisation run
Information requiredExample
Run the Insight executable file
Insight.Optimiser.Console.exe
Location of Insight settings file
--configurationOption "C:\Insight\test\Example_InsightSettings.txt”
Number of cores / endpoints to use
--source 2
Number of generations
--generations 6
Population size
--population 100
Output file name
--output "C:\Insight\test\Example_CommandLineResults_6x100.csv"

There are a number of optional parameters which may be specified on the command line as shown in Table 3.

Table 3.  Optional parameters for an optimisation run
Optional informationExample

Output cache file name

File can be used as an input to subsequent runs by specifying the cache option in the Insight configuration file

--cacheOutput "C:\Insight\test\Example_Cache.csv"
Seed
--seed 0.5

Progress message format string for
string.Format(fmt, CurrentGeneration, IndividualsCompleted, TotalGenerations, PopulationSize, ProgressPercentage)

--progressFormat "##Progress##:{0}:{1}:{2}:{3}:{4}"
Suppress message to StdOut other than formatted progress messages and results (if output not specified)
--quiet
Info
iconfalse
Note: Whenever specifying a file outside the Insight folder, you must include the full path.

...