Skip to content
...@@ -19,6 +19,6 @@ ...@@ -19,6 +19,6 @@
<ItemGroup> <ItemGroup>
<Compile Include="fill_a_pix.cs" /> <Compile Include="fill_a_pix.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="fsProgram.fs" /> <Compile Include="fsProgram.fs" />
<PackageReference Include="Google.OrTools.FSharp" Version="7.7.*" /> <PackageReference Include="Google.OrTools.FSharp" Version="7.8.*" />
</ItemGroup> </ItemGroup>
</Project> </Project>
...@@ -38,7 +38,7 @@ solver.Add( x.ScalProd(chocolate).solver().MakeGreaterOrEqual(x.ScalProd(chocola ...@@ -38,7 +38,7 @@ solver.Add( x.ScalProd(chocolate).solver().MakeGreaterOrEqual(x.ScalProd(chocola
solver.Add( x.ScalProd(sugar).solver().MakeGreaterOrEqual(x.ScalProd(sugar), limits.[2])) solver.Add( x.ScalProd(sugar).solver().MakeGreaterOrEqual(x.ScalProd(sugar), limits.[2]))
solver.Add( x.ScalProd(fat).solver().MakeGreaterOrEqual(x.ScalProd(fat), limits.[3])) solver.Add( x.ScalProd(fat).solver().MakeGreaterOrEqual(x.ScalProd(fat), limits.[3]))
let obj = cost.Minimize(1L) let obj = cost.Minimize(int64(1))
let db = solver.MakePhase(new IntVarVector(x), Solver.CHOOSE_PATH, Solver.ASSIGN_MIN_VALUE) let db = solver.MakePhase(new IntVarVector(x), Solver.CHOOSE_PATH, Solver.ASSIGN_MIN_VALUE)
solver.NewSearch(db, obj) solver.NewSearch(db, obj)
......
...@@ -19,6 +19,6 @@ ...@@ -19,6 +19,6 @@
<ItemGroup> <ItemGroup>
<Compile Include="fsdiet.fs" /> <Compile Include="fsdiet.fs" />
<PackageReference Include="Google.OrTools.FSharp" Version="7.7.*" /> <PackageReference Include="Google.OrTools.FSharp" Version="7.8.*" />
</ItemGroup> </ItemGroup>
</Project> </Project>
...@@ -19,6 +19,6 @@ ...@@ -19,6 +19,6 @@
<ItemGroup> <ItemGroup>
<Compile Include="fsequality-inequality.fs" /> <Compile Include="fsequality-inequality.fs" />
<PackageReference Include="Google.OrTools.FSharp" Version="7.7.*" /> <PackageReference Include="Google.OrTools.FSharp" Version="7.8.*" />
</ItemGroup> </ItemGroup>
</Project> </Project>
...@@ -19,6 +19,6 @@ ...@@ -19,6 +19,6 @@
<ItemGroup> <ItemGroup>
<Compile Include="fsequality.fs" /> <Compile Include="fsequality.fs" />
<PackageReference Include="Google.OrTools.FSharp" Version="7.7.*" /> <PackageReference Include="Google.OrTools.FSharp" Version="7.8.*" />
</ItemGroup> </ItemGroup>
</Project> </Project>
...@@ -19,6 +19,6 @@ ...@@ -19,6 +19,6 @@
<ItemGroup> <ItemGroup>
<Compile Include="fsinteger-linear-program.fs" /> <Compile Include="fsinteger-linear-program.fs" />
<PackageReference Include="Google.OrTools.FSharp" Version="7.7.*" /> <PackageReference Include="Google.OrTools.FSharp" Version="7.8.*" />
</ItemGroup> </ItemGroup>
</Project> </Project>
...@@ -19,6 +19,6 @@ ...@@ -19,6 +19,6 @@
<ItemGroup> <ItemGroup>
<Compile Include="fsintegerprogramming.fs" /> <Compile Include="fsintegerprogramming.fs" />
<PackageReference Include="Google.OrTools.FSharp" Version="7.7.*" /> <PackageReference Include="Google.OrTools.FSharp" Version="7.8.*" />
</ItemGroup> </ItemGroup>
</Project> </Project>
...@@ -19,6 +19,6 @@ ...@@ -19,6 +19,6 @@
<ItemGroup> <ItemGroup>
<Compile Include="fsknapsack.fs" /> <Compile Include="fsknapsack.fs" />
<PackageReference Include="Google.OrTools.FSharp" Version="7.7.*" /> <PackageReference Include="Google.OrTools.FSharp" Version="7.8.*" />
</ItemGroup> </ItemGroup>
</Project> </Project>
...@@ -19,6 +19,6 @@ ...@@ -19,6 +19,6 @@
<ItemGroup> <ItemGroup>
<Compile Include="fslinearprogramming.fs" /> <Compile Include="fslinearprogramming.fs" />
<PackageReference Include="Google.OrTools.FSharp" Version="7.7.*" /> <PackageReference Include="Google.OrTools.FSharp" Version="7.8.*" />
</ItemGroup> </ItemGroup>
</Project> </Project>
...@@ -19,6 +19,6 @@ ...@@ -19,6 +19,6 @@
<ItemGroup> <ItemGroup>
<Compile Include="fsnetwork-max-flow-lpSolve.fs" /> <Compile Include="fsnetwork-max-flow-lpSolve.fs" />
<PackageReference Include="Google.OrTools.FSharp" Version="7.7.*" /> <PackageReference Include="Google.OrTools.FSharp" Version="7.8.*" />
</ItemGroup> </ItemGroup>
</Project> </Project>
...@@ -19,6 +19,6 @@ ...@@ -19,6 +19,6 @@
<ItemGroup> <ItemGroup>
<Compile Include="fsnetwork-max-flow.fs" /> <Compile Include="fsnetwork-max-flow.fs" />
<PackageReference Include="Google.OrTools.FSharp" Version="7.7.*" /> <PackageReference Include="Google.OrTools.FSharp" Version="7.8.*" />
</ItemGroup> </ItemGroup>
</Project> </Project>
...@@ -19,6 +19,6 @@ ...@@ -19,6 +19,6 @@
<ItemGroup> <ItemGroup>
<Compile Include="fsnetwork-min-cost-flow.fs" /> <Compile Include="fsnetwork-min-cost-flow.fs" />
<PackageReference Include="Google.OrTools.FSharp" Version="7.7.*" /> <PackageReference Include="Google.OrTools.FSharp" Version="7.8.*" />
</ItemGroup> </ItemGroup>
</Project> </Project>
...@@ -19,6 +19,6 @@ ...@@ -19,6 +19,6 @@
<ItemGroup> <ItemGroup>
<Compile Include="fsrabbit-pheasant.fs" /> <Compile Include="fsrabbit-pheasant.fs" />
<PackageReference Include="Google.OrTools.FSharp" Version="7.7.*" /> <PackageReference Include="Google.OrTools.FSharp" Version="7.8.*" />
</ItemGroup> </ItemGroup>
</Project> </Project>
...@@ -19,6 +19,6 @@ ...@@ -19,6 +19,6 @@
<ItemGroup> <ItemGroup>
<Compile Include="fsvolsay.fs" /> <Compile Include="fsvolsay.fs" />
<PackageReference Include="Google.OrTools.FSharp" Version="7.7.*" /> <PackageReference Include="Google.OrTools.FSharp" Version="7.8.*" />
</ItemGroup> </ItemGroup>
</Project> </Project>
...@@ -19,6 +19,6 @@ ...@@ -19,6 +19,6 @@
<ItemGroup> <ItemGroup>
<Compile Include="fsvolsay3-lpSolve.fs" /> <Compile Include="fsvolsay3-lpSolve.fs" />
<PackageReference Include="Google.OrTools.FSharp" Version="7.7.*" /> <PackageReference Include="Google.OrTools.FSharp" Version="7.8.*" />
</ItemGroup> </ItemGroup>
</Project> </Project>
...@@ -19,6 +19,6 @@ ...@@ -19,6 +19,6 @@
<ItemGroup> <ItemGroup>
<Compile Include="fsvolsay3.fs" /> <Compile Include="fsvolsay3.fs" />
<PackageReference Include="Google.OrTools.FSharp" Version="7.7.*" /> <PackageReference Include="Google.OrTools.FSharp" Version="7.8.*" />
</ItemGroup> </ItemGroup>
</Project> </Project>
...@@ -19,6 +19,6 @@ ...@@ -19,6 +19,6 @@
<ItemGroup> <ItemGroup>
<Compile Include="furniture_moving.cs" /> <Compile Include="furniture_moving.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="furniture_moving_intervals.cs" /> <Compile Include="furniture_moving_intervals.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="futoshiki.cs" /> <Compile Include="futoshiki.cs" />
<PackageReference Include="Google.OrTools" Version="7.7.*" /> <PackageReference Include="Google.OrTools" Version="7.8.*" />
</ItemGroup> </ItemGroup>
</Project> </Project>