Skip to content

Commit

Permalink
Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
DeborahVolpe committed Jun 5, 2024
2 parents c5f069d + e403553 commit a6a1189
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/Constraints.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ Example:
variables.add_continuous_variable("e", -2, 2, 0.25, "", "")
constraint.add_constraint("~a = b", True, True, False)
constraint.add_constraint("a | b = c", True, True, False)
constraint.add_constraint("d + e <= 1", True, True, False)
constraint.add_constraint("d + e <= 1", True, True, False)
2 changes: 1 addition & 1 deletion docs/ObjectiveFunction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ Example:
b0 = variables.add_discrete_variable("b", [-1, 1, 3])
c0 = variables.add_continuous_variable("c", -2, 2, 0.25, "", "")
objective_function = ObjectiveFunction()
objective_function.add_objective_function(a0 + b0 * c0 + c0**2)
objective_function.add_objective_function(a0 + b0 * c0 + c0**2)
2 changes: 1 addition & 1 deletion docs/Problem.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ Example:
objective_function.add_objective_function(a0 + b0 * c0 + c0**2)
problem = Problem()
problem.create_problem(variables, constraint, objective_function)
pubo = problem.write_the_final_cost_function(lambda_strategy)
pubo = problem.write_the_final_cost_function(lambda_strategy)

0 comments on commit a6a1189

Please sign in to comment.