NREL / routee-compass

The RouteE-Compass energy-aware routing engine
https://nrel.github.io/routee-compass/
BSD 3-Clause "New" or "Revised" License
9 stars 4 forks source link

Allow extra weights in Cost Model #206

Closed nreinicke closed 1 month ago

nreinicke commented 1 month ago

Implements #205 by adding a new configuration parameter on the cost model expect_exact_weights. If this is set to false, the application will allow extra weights to be passed through, opening up the possibility of doing a grid search over traversal model that have different weights.

nreinicke commented 1 month ago

Maybe "ignore unknown|unregistered feature weights" (with reversed logic) may be more clear?

I like that idea, I just updated the name to be ignore_unknown_user_provided_weights which is hopefully more explicit.