Skip to content

Commit

Permalink
updated to solution with the same objective
Browse files Browse the repository at this point in the history
  • Loading branch information
kaklise committed Nov 18, 2023
1 parent 4c95be1 commit c4616ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion documentation/optimization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ by the sensor placement (listed as 'scenario-time').
... use_sensor_cost=True)

>>> print(results['Sensors'])
['A', 'B', 'D']
['A', 'B', 'C']
>>> print(results['Objective'])
11.0
>>> print(round(results['FractionDetected'],2))
Expand Down
2 changes: 1 addition & 1 deletion examples/plume_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,4 @@

# Simple test to ensure results don't change
assert results['Objective'] == 99.0
assert results['Sensors'] == ['Sensor384', 'Sensor551', 'Sensor575', 'Sensor731', 'Sensor797']
assert results['Sensors'] == ['Sensor384', 'Sensor551', 'Sensor575', 'Sensor681', 'Sensor751']

0 comments on commit c4616ca

Please sign in to comment.