examples: Rework README.md

This commit is contained in:
Mizux Seiha
2022-04-05 12:30:47 +02:00
committed by Corentin Le Molgat
parent 87f89bf031
commit 23cdf7aba6
2 changed files with 2 additions and 23 deletions

View File

@@ -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
```

View File

@@ -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.