©
Assignment Problem, synergistic
Solves the Assignment Problem via Python or CPLEX.
2024.Jul.03 19:26:33
File to upload (Optional) Such as assignment06.xlsx (z* = 340.5)
Data sheet (Of uploaded file.)
Cost matrix

'csv' (Amer. or Euro.)
Matrix order, seed (order* active iff > 0) Order, n, and RNG seed (iff 0, non-repeatable).
Optimizer   Python scipy or CPLEX from Fortran. •
Show values Show graph coordinates.

Solves the classical Assignment Problem (in the balanced version) of order n: by a Python procedure, from 'scipy.optimize', import 'linear_sum_assignment'; or by CPLEX in C, called by Fortran.

Advantage is taken from: PHP, for the web page; Python, as "glue"; Fortran, for numerical segment; and 'gnuplot', for plotting.

Draws a graph of the assignments, where x is the 'agent' and y is the 'task'. The tasks are shown only for n ≤ 14 (which is the limit in Excel®). The base problem leads to z* = 135.
* In the context of Internet execution, it is suggested: (a) for Python (time limit), n ≲ 1 000; (b) for CPLEX (memory limit), n ≲ 120.

References: Plate: AssignmentProblem

• (Wikipedia) PHP (from Personal Home Page).

• (Wikipedia) Python (programming language). Python as glue. Using Python as glue. F2PY Users Guide and Reference Manual.

• (Wikipedia) Fortran (Fortran 90). • (Wikipedia) gnuplot.

• IO2022, XXII Congresso da "Associação Portuguesa de Investigação Operacional" (APDIO), (XXII Congres of APDIO), Évora (Portugal), 06–08 November 2022.

• 1801-07-27: Airy, George Biddell (†1892-01-02, 90 yrs.).

 
 
Valid HTML 5! IST http://web.ist.utl.pt/~ist11038/compute/APDIO_2022/P-assignment.php
Created: 2022-07-28 — Last modified: 2022-10-02