Tests that the Model correctly forwards an initial solution.
(rc208)
| 1122 | |
| 1123 | |
| 1124 | def test_model_solve_initial_solution(rc208): |
| 1125 | """ |
| 1126 | Tests that the Model correctly forwards an initial solution. |
| 1127 | """ |
| 1128 | m = Model.from_data(rc208) |
| 1129 | |
| 1130 | bks = read_solution("data/RC208.sol", rc208) |
| 1131 | res = m.solve(stop=MaxIterations(0), initial_solution=bks) |
| 1132 | assert_equal(res.best, bks) |
nothing calls this directly
no test coverage detected