examples: Rework README.md
This commit is contained in:
committed by
Corentin Le Molgat
parent
87f89bf031
commit
23cdf7aba6
@@ -1,6 +1,6 @@
|
||||
# .NetCoreApp examples
|
||||
The following examples showcase how to use OrTools.<br>
|
||||
The project solution has examples for both C# and F#.
|
||||
The project solution has examples for C#.
|
||||
|
||||
We recommend that all projects you create target `net6.0`,
|
||||
as this allows you to compile for various frameworks and
|
||||
@@ -16,24 +16,3 @@ You can run the following command:
|
||||
dotnet build <example>.csproj
|
||||
dotnet run --no-build --project <example>.csproj
|
||||
```
|
||||
|
||||
## Note on Google.OrTools.FSharp
|
||||
This part describes how to use Google.OrTools.FSharp nuget package in F#.
|
||||
|
||||
### SolverOptions and lpSolve
|
||||
This function and parameter object are a wrapper around the standard Google.OrTools functions.<br>
|
||||
It is designed to enter the Linear/Integer program as *matrices* and *vectors*.
|
||||
|
||||
Two input formats are allowed:
|
||||
* Canonical Form;
|
||||
* Standard Form.
|
||||
|
||||
**ALL Matrices & Vectors are entered as columns**
|
||||
|
||||
### Execution
|
||||
Running the examples will involve building them, then running them.<br>
|
||||
You can run the following command:
|
||||
```shell
|
||||
dotnet build <example>.fsproj
|
||||
dotnet run --no-build --project <example>.fsproj
|
||||
```
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Python examples
|
||||
The following examples showcase how to use OrTools.
|
||||
These examples should work for any Python3.6+.
|
||||
These examples should work for any Python3.7+.
|
||||
|
||||
We recommend that all projects you create target `Python 3.9`,
|
||||
as this allows you to keep up-to-date with the latest Python frameworks.
|
||||
|
||||
Reference in New Issue
Block a user