Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.38 KB

distributed_simplex.rst

File metadata and controls

36 lines (23 loc) · 1.38 KB

Distributed Simplex

This is an example on how to use the DistributedSimplex class. See also the reference [BuNo11].

../../../../examples/algorithms/distributed_simplex/launcher.py

../../../../examples/algorithms/distributed_simplex/results.py

The two files can be executed by issuing the following commands in the example folder:

> mpirun -np 10 --oversubscribe python launcher.py
> python results.py

Distributed Simplex (dual problem)

This is an example on how to use the DualDistributedSimplex class, which forms the dual problem of the given optimization problem and solves it with the Distributed Simplex algorithm.

../../../../examples/algorithms/distributed_simplex/launcher_dual.py

../../../../examples/algorithms/distributed_simplex/results_dual.py

The two files can be executed by issuing the following commands in the example folder:

> mpirun -np 10 --oversubscribe python launcher_dual.py
> python results_dual.py