Skip to content

Add three new transportation initialization methods#2

Open
sina-04 wants to merge 8 commits intowilhelmcs:masterfrom
sina-04:master
Open

Add three new transportation initialization methods#2
sina-04 wants to merge 8 commits intowilhelmcs:masterfrom
sina-04:master

Conversation

@sina-04
Copy link
Copy Markdown

@sina-04 sina-04 commented Dec 4, 2025

Hi Mr. Carstens,

first of all, thank you for this repository – it was very helpful for my project.

In this PR I’ve added three new methods for computing initial solutions to the transportation problem:

  • LeastCostRowMethod – iterates row-wise, choosing the lowest-cost cell in each row
  • LeastCostColumnMethod – iterates column-wise, choosing the lowest-cost cell in each column
  • LeastCostCellMethod – always chooses the globally cheapest available cell

I’ve tried to follow the existing project structure and coding style.

Please let me know if you’d like any changes (naming, structure, tests, or documentation updates).

Best regards,
Sina R.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant