From 0b6ad05eeb38db5bdbdb3766dad8e85fc7a79ada Mon Sep 17 00:00:00 2001 From: Gabriel de Oliveira Silva Date: Tue, 19 Mar 2024 09:23:56 -0400 Subject: [PATCH] add: google or tools package --- projeto-gerar-horario/Core/Class1.cs | 7 ++++++- projeto-gerar-horario/Core/Core.csproj | 24 +++++++++++------------- projeto-gerar-horario/Core/Program.cs | 9 --------- 3 files changed, 17 insertions(+), 23 deletions(-) delete mode 100644 projeto-gerar-horario/Core/Program.cs diff --git a/projeto-gerar-horario/Core/Class1.cs b/projeto-gerar-horario/Core/Class1.cs index a5c9910e..9aaba403 100644 --- a/projeto-gerar-horario/Core/Class1.cs +++ b/projeto-gerar-horario/Core/Class1.cs @@ -1,9 +1,14 @@ -namespace Core; +using Google.OrTools.Bop; +namespace Core; public class Class1 { + public bool Retorno() { + BopOptimizerMethod aaa = new BopOptimizerMethod(); // teste de compilação ortools + + return true; } } diff --git a/projeto-gerar-horario/Core/Core.csproj b/projeto-gerar-horario/Core/Core.csproj index 0ec757c4..f40626a9 100644 --- a/projeto-gerar-horario/Core/Core.csproj +++ b/projeto-gerar-horario/Core/Core.csproj @@ -1,13 +1,11 @@ - - - - Exe - net7.0 - enable - enable - - - - - - + + + net7.0 + enable + enable + + + + + + diff --git a/projeto-gerar-horario/Core/Program.cs b/projeto-gerar-horario/Core/Program.cs deleted file mode 100644 index 2a9b07cc..00000000 --- a/projeto-gerar-horario/Core/Program.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -class a -{ - public static void Main(string[] args) - { - - } -} \ No newline at end of file