A cost-time trade-off Königsberg bridge problem traversing all the seven bridges allowing repetition