Wheeler Codes
Wheeler Codes,
are a small collection of Python codes created for
the use of Professor Jeffrey Wheeler and his class.
-
dijkstra,
a Python code which
implements the Dijkstra algorithm for finding the minimum distance
from a given node of a weighted graph to all the other nodes.
-
gradient_descent,
a Python code which
uses gradient descent to solve a linear least squares (LLS) problem.
-
kruskal,
a Python code which
implements Kruskal algorithm to compute a minimal spanning tree of a
weighted graph.
-
newton,
a Python code which
approximates the solution of a single nonlinear scalar equation
f(x)=0 using Newton's method.
-
prim,
a Python code which
implements Prim's algorithm to compute a minimal spanning tree of a
weighted graph.
-
transportation,
a Python code which
computes a feasible solution to a simple version of the transportation
problem, in which a resource must be transported from several supply
centers to several demand centers at minimal cost.
-
tsp,
a Python code which
seeks the shortest round trip visiting every city on a list,
the traveling salesperson problem (TSP).
Last revised on 30 March 2026.