mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-04-19 00:45:22 +00:00
fixed_seed for single_test_optimization
sets the seed for random to a fixed value to be able to compare results. Value chosen for obvious reason. Same value is used in the test case.
This commit is contained in:
parent
738a4da455
commit
fb59c9dd14
@ -362,7 +362,7 @@ parameter = {
|
||||
|
||||
# Initialize the optimization problem
|
||||
opt_class = optimization_problem(
|
||||
prediction_hours=48, strafe=10, optimization_hours=24, verbose=True
|
||||
prediction_hours=48, strafe=10, optimization_hours=24, verbose=True, fixed_seed=42
|
||||
)
|
||||
|
||||
# Perform the optimisation based on the provided parameters and start hour
|
||||
|
Loading…
x
Reference in New Issue
Block a user