Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Introduzione
Questa guida ti consente di iniziare a utilizzare OR-Tools in .Net con una semplice
esempio.
Anche se queste istruzioni potrebbero funzionare anche su altre varianti di Windows,
li hanno testati solo su macchine che soddisfano i seguenti requisiti:
Windows 10 a 64 bit (x86_64) con:
Microsoft Visual Studio Enterprise 2022
Community di Microsoft Visual Studio 2022 in anteprima 2 o successive
Prerequisiti
Le seguenti sezioni descrivono i prerequisiti per l'installazione di OR-Tools.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2024-08-22 UTC."],[[["This guide provides step-by-step instructions for setting up and running a simple OR-Tools application in .NET on Windows 10 (x64)."],["You need to install prerequisites like Microsoft Visual C++ Redistributable, .NET Core 3.1 SDK (version 3.1.100 or higher), and .NET 6.0 SDK before proceeding."],["The guide includes instructions on obtaining the example code from the `dotnet_or-tools` GitHub repository and building it using `dotnet` commands."],["Finally, you can execute the built application using `dotnet run -c Release` to see OR-Tools in action."]]],["To use OR-Tools in .Net, ensure you have Windows 10 64-bit, Visual Studio 2022, and the Microsoft Visual C++ Redistributable (x64). Install .NET Core 3.1 SDK (3.1.100+) and .NET 6.0 SDK. Obtain the example code from the `dotnet_or-tools` repository, either by downloading the zip or cloning it. Navigate to the examples directory, build the project with `dotnet build -c Release`, and run it using `dotnet run -c Release`.\n"]]