Skip to contents

This function is the C++ implementation of run_model, it will run a model

Arguments

flows

A integer matrix of Origin-Destination flows.

distance

a distance matrix between origins and destinations.

beta

Exponent to use when calculating the cost function.