Changes between Version 4 and Version 5 of Documentation/Reference/ExactOptimization


Ignore:
Timestamp:
02/04/19 12:40:19 (3 months ago)
Author:
abeham
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/Reference/ExactOptimization

    v4 v5  
    225225
    226226[[Image(ExactOptimization.png,100%)]]
     227
     228=== Using the API to solve LP/MILP models in HeuristicLab ===
    227229
    228230The `BuildModel` method is used to define your model using the linear solver wrapper of OR-Tools, the `Analyze` method is used to retrieve the solution values of your decision variables. The following C# Script shows the implementation of the 0-1 Knapsack Problem (class `KnapsackLinearModel`), which is quite similar to the [#KnapsackProblemKSP example script provided above], and the usage of this model (in the method `Main`) by solving it with all available solvers.