Python implementation:

  • When running the python code, the instances' files must be in a folder, under a folder named 'instances', under the code directory (e.g., "[...]/instances/3KP50-T0-C1/3KP50-T0-C1-1.dat")
  • Cardinality_skip_3kp.py - this file generates the whole Pareto front for three objective MOILP problems using the cardinality representation. It assumes the model's variables are binary.
  • Cardinality_skip_3kp_int.py - this file generates the whole Pareto front for three objective MOILP problems using the cardinality representation. It assumes the model's variables are integer.
  • Cardinality_skip_3kp_represent_KPI.py - generates a representation of the Pareto front for three objective problems given the user defined cardinality. It assumes the model's variables are binary. To generate the KPIs (coverage error and uniformity level) the whole Pareto front is required. To generate this input, we suggest to first run Cardinality_skip_3kp.py.
  • Cardinality_skip_4kp.py - this file generates the whole Pareto front for four objective MOILP problems using the cardinality representation. It assumes the model's variables are binary.
  • Cardinality_skip_4kp_int.py - this file generates the whole Pareto front for four objective MOILP problems using the cardinality representation. It assumes the model's variables are integer.

Attachments