dwavesystems / dwave-optimization

Enables the formulation of nonlinear models for industrial optimization problems.
https://docs.ocean.dwavesys.com/en/stable/docs_optimization/index.html#index-optimization
Apache License 2.0
7 stars 17 forks source link

distance/time matrix for CVRP and CVRPTW should be zero-diagonal #108

Open elham-azd opened 1 week ago

arcondello commented 1 day ago

If it doesn't harm the formulation, IMO we should just note that the diagonal is ignored in the docstring rather than raising an error.