Skip to content
GitLab
Explore
Sign in
Show whitespace changes
Inline
Side-by-side
libs/or-tools-src-ubuntu/examples/dotnet/BinPackingMip.cs
View file @
a9bd42a2
...
@@ -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]
...
...
libs/or-tools-src-ubuntu/examples/dotnet/BinPackingMip.csproj
View file @
a9bd42a2
...
@@ -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>
libs/or-tools-src-ubuntu/examples/dotnet/BinPackingProblemSat.csproj
View file @
a9bd42a2
...
@@ -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>
libs/or-tools-src-ubuntu/examples/dotnet/BoolOrSampleSat.csproj
View file @
a9bd42a2
...
@@ -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>
libs/or-tools-src-ubuntu/examples/dotnet/ChannelingSampleSat.csproj
View file @
a9bd42a2
...
@@ -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>
libs/or-tools-src-ubuntu/examples/dotnet/CpIsFunSat.csproj
View file @
a9bd42a2
...
@@ -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>
libs/or-tools-src-ubuntu/examples/dotnet/EarlinessTardinessCostSampleSat.csproj
View file @
a9bd42a2
...
@@ -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>
libs/or-tools-src-ubuntu/examples/dotnet/GateSchedulingSat.csproj
View file @
a9bd42a2
...
@@ -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>
libs/or-tools-src-ubuntu/examples/dotnet/IntervalSampleSat.csproj
View file @
a9bd42a2
...
@@ -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>
libs/or-tools-src-ubuntu/examples/dotnet/JobshopFt06Sat.csproj
View file @
a9bd42a2
...
@@ -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>
libs/or-tools-src-ubuntu/examples/dotnet/JobshopSat.csproj
View file @
a9bd42a2
...
@@ -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>
libs/or-tools-src-ubuntu/examples/dotnet/Knapsack.csproj
View file @
a9bd42a2
...
@@ -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>
libs/or-tools-src-ubuntu/examples/dotnet/LinearProgrammingExample.cs
View file @
a9bd42a2
...
@@ -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]
...
...
libs/or-tools-src-ubuntu/examples/dotnet/LinearProgrammingExample.csproj
View file @
a9bd42a2
...
@@ -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>
libs/or-tools-src-ubuntu/examples/dotnet/LiteralSampleSat.csproj
View file @
a9bd42a2
...
@@ -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>
libs/or-tools-src-ubuntu/examples/dotnet/MipVarArray.cs
View file @
a9bd42a2
...
@@ -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
(
"
SimpleMipProg
ra
m
"
,
"CBC
_MIXED_INTEGER_PROGRAMMING
"
);
Solver
solver
=
Solver
.
CreateSolver
(
"
MipVarAr
ra
y
"
,
"CBC"
);
// [END solver]
// [END solver]
// [START program_part2]
// [START program_part2]
...
...
libs/or-tools-src-ubuntu/examples/dotnet/MipVarArray.csproj
View file @
a9bd42a2
...
@@ -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>
libs/or-tools-src-ubuntu/examples/dotnet/MultipleKnapsackMip.cs
View file @
a9bd42a2
...
@@ -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]
...
...
libs/or-tools-src-ubuntu/examples/dotnet/MultipleKnapsackMip.csproj
View file @
a9bd42a2
...
@@ -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>
libs/or-tools-src-ubuntu/examples/dotnet/NetworkRoutingSat.csproj
View file @
a9bd42a2
...
@@ -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>
Prev
1
2
3
4
5
6
…
37
Next