How sanjyasz/multicriteria-simplex works
Purpose and Entry Point
This is a Julia implementation of a multi-objective simplex method, structured around successive algorithmic phases and runnable problem instances. The primary execution entry point is main.jl; it coordinates model loading and the simplex workflow. Example and benchmark instances are stored under data/.
Paths: main.jl, data/data.jl, data/molp_3_100_20_assignment.jl
Problem Input and Parsing Boundary
The repository supports Julia-defined instances and .mop benchmark files. parser.jl is the input boundary that converts external problem representations into the internal structures consumed by the algorithm. This separates instance-format concerns from optimization logic.
Paths: parser.jl, data/molp_10_779_10174_entropy.mop, data/molp_10_779_10174_entropy.jl
Algorithm Orchestration
main.jl is the control-flow owner: it selects or receives an instance, initializes algorithm state, and invokes the numbered simplex phases. The phase split suggests an explicit pipeline rather than a monolithic solver, allowing feasibility, optimization, and multi-objective exploration to remain distinct.
Paths: main.jl, phase1.jl, phase2.jl
Phase 1: Feasibility Initialization
phase1.jl implements the first simplex stage, likely constructing or finding an initial feasible basis before objective-space search begins. This is a key boundary: later phases should receive a valid tableau/basis state rather than handling infeasibility themselves.
Paths: phase1.jl, fonctions.jl, degen.jl
Phase 2: Simplex Optimization / Pivot Progression
phase2.jl contains the central simplex iteration stage. It likely performs entering/leaving-variable selection, tableau or basis updates, and objective improvement using shared operations from the utility module. Degenerate-pivot handling is factored into a dedicated module.
Paths: phase2.jl, fonctions.jl, degen.jl
Phase 3: Multi-Objective Result Exploration
phase3.jl represents the multi-objective-specific stage: it extends single-basis simplex progression into the handling of multiple objectives, likely identifying efficient solutions or moving across relevant bases. It consumes the state produced by earlier phases and returns or reports the final solution set.
Paths: phase3.jl, phase2.jl, main.jl
Shared Numerical and Degeneracy Logic
fonctions.jl centralizes reusable solver operations, preventing phase files from duplicating linear-algebra or tableau logic. degen.jl isolates degeneracy concerns, which are architecturally important in simplex implementations because tie-breaking and repeated bases can affect termination and correctness.
Paths: fonctions.jl, degen.jl
Runtime and Data Assets
The material runtime is Julia, with no indicated web service, database, or deployment infrastructure. The data/ directory provides named academic examples and generated benchmark families, including assignment and entropy instances; these are inputs to the solver rather than independent application components.
Paths: data/EHRGOTT.jl, data/ZELENY244.jl, data/molp_4_900_60_assignment.mop
Main entry points: data.jl Instance catalog · phase1.jl Phase 1: feasibility · phase2.jl Phase 2: simplex · main.jl Main runner
Components 15
Problem Inputs
Julia instances and MOP benchmarks.
- Problem parser · Converts supported problem representations into solver structures.
parser.jl - Instance catalog · Named academic and generated problem instances.
data/data.jl - Assignment instance
data/molp_3_100_20_assignment.jl - Entropy benchmark
data/molp_10_779_10174_entropy.mop - Entropy instance
data/molp_10_779_10174_entropy.jl - EHRGOTT instance
data/EHRGOTT.jl - ZELENY244 instance
data/ZELENY244.jl - Assignment benchmark
data/molp_4_900_60_assignment.mop
Simplex Solver
Successive feasibility, optimization, and multi-objective phases.
- Phase 1: feasibility · Finds or constructs an initial feasible basis.
phase1.jl - Phase 2: simplex · Advances tableau or basis through objective-improving pivots.
phase2.jl - Phase 3: multi-objective · Explores relevant bases and produces efficient results.
phase3.jl - Solver operations · Reusable linear algebra and tableau operations.
fonctions.jl - Degeneracy handling · Handles ties and repeated-basis concerns.
degen.jl
Other components
- Main runner · Coordinates loading, state initialization, and solver phases.
main.jl - Solution set · Final multi-objective solutions or report.
Connections 17
- Assignment instance → Instance catalog: cataloged in
- Entropy instance → Instance catalog: cataloged in
- EHRGOTT instance → Instance catalog: cataloged in
- ZELENY244 instance → Instance catalog: cataloged in
- Instance catalog → Main runner: selects instance
- Entropy benchmark → Problem parser: parses
- Assignment benchmark → Problem parser: parses
- Problem parser → Main runner: internal problem
- Main runner → Phase 1: feasibility: initializes
- Phase 1: feasibility → Phase 2: simplex: feasible basis
- Phase 2: simplex → Phase 3: multi-objective: optimized state
- Phase 3: multi-objective → Solution set: returns
- Main runner → Phase 3: multi-objective: invokes
- Phase 1: feasibility → Solver operations: uses
- Phase 2: simplex → Solver operations: uses
- Phase 2: simplex → Degeneracy handling: handles pivots with
- Phase 1: feasibility → Degeneracy handling: uses