Backport trivial changes

This commit is contained in:
Guillaume Chatelet
2025-07-18 08:11:03 +00:00
committed by Corentin Le Molgat
parent 959bb0d51c
commit 46f73b3d35
47 changed files with 54 additions and 117 deletions

View File

@@ -19,7 +19,6 @@ import com.google.ortools.graph.MinCostFlow;
/**
* Sample showing how to model using the flow solver.
*
*/
public class FlowExample {
private static void solveMinCostFlow() {

View File

@@ -20,7 +20,6 @@ import com.google.ortools.graph.LinearSumAssignment;
* Test assignment on a 4x4 matrix. Example taken from
* http://www.ee.oulu.fi/~mpa/matreng/eem1_2-1.htm with kCost[0][1]
* modified so the optimum solution is unique.
*
*/
public class LinearAssignmentAPI {
private static void runAssignmentOn4x4Matrix() {

View File

@@ -21,7 +21,6 @@ import com.google.ortools.linearsolver.MPVariable;
/**
* Linear programming example that shows how to use the API.
*
*/
public class LinearProgramming {
private static void runLinearProgrammingExample(String solverType, boolean printModel) {

View File

@@ -22,15 +22,13 @@ import java.util.logging.Logger;
/**
* Sample showing how to model using the constraint programming solver.
*
*/
public class RabbitsPheasants {
private static Logger logger = Logger.getLogger(RabbitsPheasants.class.getName());
/**
* Solves the rabbits + pheasants problem. We are seing 20 heads
* and 56 legs. How many rabbits and how many pheasants are we thus
* seeing?
* Solves the rabbits + pheasants problem. We are seeing 20 heads and 56 legs. How many rabbits
* and how many pheasants are we thus seeing?
*/
private static void solve(boolean traceSearch) {
ConstraintSolverParameters parameters =