revamp and simplify swig support, force typed enums for C# and Java for all except the constraint_solver/routing module; port examples; Fix SAT on very large problems
This commit is contained in:
@@ -45,11 +45,11 @@ public class SimpleMaxFlowProgram
|
||||
|
||||
// [START solve]
|
||||
// Find the maximum flow between node 0 and node 4.
|
||||
int solveStatus = maxFlow.Solve(0, 4);
|
||||
MaxFlow.Status solveStatus = maxFlow.Solve(0, 4);
|
||||
// [END solve]
|
||||
|
||||
// [START print_solution]
|
||||
if (solveStatus == MaxFlow.OPTIMAL)
|
||||
if (solveStatus == MaxFlow.Status.OPTIMAL)
|
||||
{
|
||||
Console.WriteLine("Max. flow: " + maxFlow.OptimalFlow());
|
||||
Console.WriteLine("");
|
||||
|
||||
Reference in New Issue
Block a user