Skip to content

Commit

Permalink
[CP-SAT] fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
lperron committed Nov 29, 2024
1 parent df97cd5 commit c284aa4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ortools/java/com/google/ortools/sat/CpModel.java
Original file line number Diff line number Diff line change
Expand Up @@ -425,9 +425,9 @@ public Constraint addElement(LinearArgument index, int[] values, LinearArgument
*
* <p>Adds an empty circuit constraint.
*
* <p>A circuit is a unique Hamiltonian circuit in a subgraph of the total graph. In case a node
* 'i' is not in the circuit, then there must be a loop arc {@code 'i -> i'} associated with a
* true literal. Otherwise this constraint will fail.
* <p>A circuit is a unique Hamiltonian cycle in a subgraph of the total graph. In case a node 'i'
* is not in the cycle, then there must be a loop arc {@code 'i -> i'} associated with a true
* literal. Otherwise this constraint will fail.
*/
public CircuitConstraint addCircuit() {
return new CircuitConstraint(modelBuilder);
Expand Down

0 comments on commit c284aa4

Please sign in to comment.