Skip to content
...@@ -38,7 +38,7 @@ public class BinPackingMip ...@@ -38,7 +38,7 @@ public class BinPackingMip
// [START solver] // [START solver]
// Create the linear solver with the CBC backend. // Create the linear solver with the CBC backend.
Solver solver = Solver.CreateSolver("BinPackingMip", "CBC_MIXED_INTEGER_PROGRAMMING"); Solver solver = Solver.CreateSolver("BinPackingMip", "CBC");
// [END solver] // [END solver]
// [START program_part2] // [START program_part2]
......
...@@ -19,6 +19,6 @@ ...@@ -19,6 +19,6 @@
<ItemGroup> <ItemGroup>
<Compile Include="BinPackingMip.cs" /> <Compile Include="BinPackingMip.cs" />
<PackageReference Include="Google.OrTools" Version="7.7.*" /> <PackageReference Include="Google.OrTools" Version="7.8.*" />
</ItemGroup> </ItemGroup>
</Project> </Project>
...@@ -19,6 +19,6 @@ ...@@ -19,6 +19,6 @@
<ItemGroup> <ItemGroup>
<Compile Include="BinPackingProblemSat.cs" /> <Compile Include="BinPackingProblemSat.cs" />
<PackageReference Include="Google.OrTools" Version="7.7.*" /> <PackageReference Include="Google.OrTools" Version="7.8.*" />
</ItemGroup> </ItemGroup>
</Project> </Project>
...@@ -19,6 +19,6 @@ ...@@ -19,6 +19,6 @@
<ItemGroup> <ItemGroup>
<Compile Include="BoolOrSampleSat.cs" /> <Compile Include="BoolOrSampleSat.cs" />
<PackageReference Include="Google.OrTools" Version="7.7.*" /> <PackageReference Include="Google.OrTools" Version="7.8.*" />
</ItemGroup> </ItemGroup>
</Project> </Project>
...@@ -19,6 +19,6 @@ ...@@ -19,6 +19,6 @@
<ItemGroup> <ItemGroup>
<Compile Include="ChannelingSampleSat.cs" /> <Compile Include="ChannelingSampleSat.cs" />
<PackageReference Include="Google.OrTools" Version="7.7.*" /> <PackageReference Include="Google.OrTools" Version="7.8.*" />
</ItemGroup> </ItemGroup>
</Project> </Project>
...@@ -19,6 +19,6 @@ ...@@ -19,6 +19,6 @@
<ItemGroup> <ItemGroup>
<Compile Include="CpIsFunSat.cs" /> <Compile Include="CpIsFunSat.cs" />
<PackageReference Include="Google.OrTools" Version="7.7.*" /> <PackageReference Include="Google.OrTools" Version="7.8.*" />
</ItemGroup> </ItemGroup>
</Project> </Project>
...@@ -19,6 +19,6 @@ ...@@ -19,6 +19,6 @@
<ItemGroup> <ItemGroup>
<Compile Include="EarlinessTardinessCostSampleSat.cs" /> <Compile Include="EarlinessTardinessCostSampleSat.cs" />
<PackageReference Include="Google.OrTools" Version="7.7.*" /> <PackageReference Include="Google.OrTools" Version="7.8.*" />
</ItemGroup> </ItemGroup>
</Project> </Project>
...@@ -19,6 +19,6 @@ ...@@ -19,6 +19,6 @@
<ItemGroup> <ItemGroup>
<Compile Include="GateSchedulingSat.cs" /> <Compile Include="GateSchedulingSat.cs" />
<PackageReference Include="Google.OrTools" Version="7.7.*" /> <PackageReference Include="Google.OrTools" Version="7.8.*" />
</ItemGroup> </ItemGroup>
</Project> </Project>
...@@ -19,6 +19,6 @@ ...@@ -19,6 +19,6 @@
<ItemGroup> <ItemGroup>
<Compile Include="IntervalSampleSat.cs" /> <Compile Include="IntervalSampleSat.cs" />
<PackageReference Include="Google.OrTools" Version="7.7.*" /> <PackageReference Include="Google.OrTools" Version="7.8.*" />
</ItemGroup> </ItemGroup>
</Project> </Project>
...@@ -19,6 +19,6 @@ ...@@ -19,6 +19,6 @@
<ItemGroup> <ItemGroup>
<Compile Include="JobshopFt06Sat.cs" /> <Compile Include="JobshopFt06Sat.cs" />
<PackageReference Include="Google.OrTools" Version="7.7.*" /> <PackageReference Include="Google.OrTools" Version="7.8.*" />
</ItemGroup> </ItemGroup>
</Project> </Project>
...@@ -19,6 +19,6 @@ ...@@ -19,6 +19,6 @@
<ItemGroup> <ItemGroup>
<Compile Include="JobshopSat.cs" /> <Compile Include="JobshopSat.cs" />
<PackageReference Include="Google.OrTools" Version="7.7.*" /> <PackageReference Include="Google.OrTools" Version="7.8.*" />
</ItemGroup> </ItemGroup>
</Project> </Project>
...@@ -19,6 +19,6 @@ ...@@ -19,6 +19,6 @@
<ItemGroup> <ItemGroup>
<Compile Include="Knapsack.cs" /> <Compile Include="Knapsack.cs" />
<PackageReference Include="Google.OrTools" Version="7.7.*" /> <PackageReference Include="Google.OrTools" Version="7.8.*" />
</ItemGroup> </ItemGroup>
</Project> </Project>
...@@ -20,7 +20,7 @@ public class LinearProgrammingExample ...@@ -20,7 +20,7 @@ public class LinearProgrammingExample
static void Main() static void Main()
{ {
// [START solver] // [START solver]
Solver solver = Solver.CreateSolver("LinearProgrammingExample", "GLOP_LINEAR_PROGRAMMING"); Solver solver = Solver.CreateSolver("LinearProgrammingExample", "GLOP");
// [END solver] // [END solver]
// x and y are continuous non-negative variables. // x and y are continuous non-negative variables.
// [START variables] // [START variables]
......
...@@ -19,6 +19,6 @@ ...@@ -19,6 +19,6 @@
<ItemGroup> <ItemGroup>
<Compile Include="LinearProgrammingExample.cs" /> <Compile Include="LinearProgrammingExample.cs" />
<PackageReference Include="Google.OrTools" Version="7.7.*" /> <PackageReference Include="Google.OrTools" Version="7.8.*" />
</ItemGroup> </ItemGroup>
</Project> </Project>
...@@ -19,6 +19,6 @@ ...@@ -19,6 +19,6 @@
<ItemGroup> <ItemGroup>
<Compile Include="LiteralSampleSat.cs" /> <Compile Include="LiteralSampleSat.cs" />
<PackageReference Include="Google.OrTools" Version="7.7.*" /> <PackageReference Include="Google.OrTools" Version="7.8.*" />
</ItemGroup> </ItemGroup>
</Project> </Project>
...@@ -44,7 +44,7 @@ public class MipVarArray ...@@ -44,7 +44,7 @@ public class MipVarArray
// [START solver] // [START solver]
// Create the linear solver with the CBC backend. // Create the linear solver with the CBC backend.
Solver solver = Solver.CreateSolver("SimpleMipProgram", "CBC_MIXED_INTEGER_PROGRAMMING"); Solver solver = Solver.CreateSolver("MipVarArray", "CBC");
// [END solver] // [END solver]
// [START program_part2] // [START program_part2]
......
...@@ -19,6 +19,6 @@ ...@@ -19,6 +19,6 @@
<ItemGroup> <ItemGroup>
<Compile Include="MipVarArray.cs" /> <Compile Include="MipVarArray.cs" />
<PackageReference Include="Google.OrTools" Version="7.7.*" /> <PackageReference Include="Google.OrTools" Version="7.8.*" />
</ItemGroup> </ItemGroup>
</Project> </Project>
...@@ -41,7 +41,7 @@ public class MultipleKnapsackMip ...@@ -41,7 +41,7 @@ public class MultipleKnapsackMip
// [START solver] // [START solver]
// Create the linear solver with the CBC backend. // Create the linear solver with the CBC backend.
Solver solver = Solver.CreateSolver("MultipleKnapsackMip", "CBC_MIXED_INTEGER_PROGRAMMING"); Solver solver = Solver.CreateSolver("MultipleKnapsackMip", "CBC");
// [END solver] // [END solver]
// [START program_part2] // [START program_part2]
......
...@@ -19,6 +19,6 @@ ...@@ -19,6 +19,6 @@
<ItemGroup> <ItemGroup>
<Compile Include="MultipleKnapsackMip.cs" /> <Compile Include="MultipleKnapsackMip.cs" />
<PackageReference Include="Google.OrTools" Version="7.7.*" /> <PackageReference Include="Google.OrTools" Version="7.8.*" />
</ItemGroup> </ItemGroup>
</Project> </Project>
...@@ -19,6 +19,6 @@ ...@@ -19,6 +19,6 @@
<ItemGroup> <ItemGroup>
<Compile Include="NetworkRoutingSat.cs" /> <Compile Include="NetworkRoutingSat.cs" />
<PackageReference Include="Google.OrTools" Version="7.7.*" /> <PackageReference Include="Google.OrTools" Version="7.8.*" />
</ItemGroup> </ItemGroup>
</Project> </Project>