Skip to content

Commit

Permalink
tweaking ranked_df in the test_rank function. The new ordering algori…
Browse files Browse the repository at this point in the history
…thm always start in the node zero and goes reversed to what the mlrose TSP used to do.
  • Loading branch information
sotorrio1 committed Aug 15, 2023
1 parent ef71fda commit 1fed3d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions foqus_lib/framework/sdoe/test/test_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,9 @@ def test_rank():
ranked_df = pd.DataFrame(
{
"w": [0.15, 0.15, 0.15, 0.15, 0.15, 0.15, 0.175, 0.175],
"G": [2000, 2000, 1500, 1500, 2500, 2700, 2500, 2500],
"lldg": [0.3, 0.25, 0.15, 0.15, 0.15, 0.15, 0.25, 0.3],
"L": [8529, 7519, 3100, 3454, 9060, 10039, 7358, 6185],
"G": [2700, 2500, 1500, 1500, 2000, 2000, 2500, 2500],
"lldg": [0.15, 0.15, 0.15, 0.15, 0.25, 0.3, 0.3, 0.25],
"L": [10039, 9060, 3454, 3100, 7519, 8529, 6185, 7358],
}
)

Expand Down

0 comments on commit 1fed3d4

Please sign in to comment.