Problems¶
Multi-objective¶
zdt
¶
ZDT1(number_of_variables=30)
¶
Bases: FloatProblem
Problem ZDT1.
.. note:: Bi-objective unconstrained problem. The default number of variables is 30. .. note:: Continuous problem having a convex Pareto front
:param number_of_variables: Number of decision variables of the problem.
Source code in src/jmetal/problem/multiobjective/zdt.py
ZDT1Modified(number_of_variables=30)
¶
ZDT2(number_of_variables=30)
¶
Bases: ZDT1
Problem ZDT2.
.. note:: Bi-objective unconstrained problem. The default number of variables is 30. .. note:: Continuous problem having a non-convex Pareto front
Source code in src/jmetal/problem/multiobjective/zdt.py
ZDT3(number_of_variables=30)
¶
Bases: ZDT1
Problem ZDT3.
.. note:: Bi-objective unconstrained problem. The default number of variables is 30. .. note:: Continuous problem having a partitioned Pareto front
Source code in src/jmetal/problem/multiobjective/zdt.py
ZDT4(number_of_variables=10)
¶
Bases: ZDT1
Problem ZDT4.
.. note:: Bi-objective unconstrained problem. The default number of variables is 10. .. note:: Continuous multi-modal problem having a convex Pareto front
:param number_of_variables: Number of decision variables of the problem.
Source code in src/jmetal/problem/multiobjective/zdt.py
ZDT5(number_of_variables=11)
¶
Bases: BinaryProblem
Problem ZDT5.
.. note:: Bi-objective binary unconstrained problem. The default number of variables is 11.
In this implementation, each variable is represented by a single boolean value in the solution, and the number_of_bits_per_variable attribute is used to track how many bits each variable conceptually represents for evaluation purposes.
:param number_of_variables: Number of variables in the problem.
Source code in src/jmetal/problem/multiobjective/zdt.py
evaluate(solution)
¶
Evaluate the solution by counting the number of true bits in each variable's range.
Source code in src/jmetal/problem/multiobjective/zdt.py
eval_g(solution)
¶
Calculate the g function for ZDT5.
Source code in src/jmetal/problem/multiobjective/zdt.py
eval_v(value)
¶
create_solution(rng=None)
¶
Create a new random solution.
Source code in src/jmetal/problem/multiobjective/zdt.py
ZDT6(number_of_variables=10)
¶
Bases: ZDT1
Problem ZDT6.
.. note:: Bi-objective unconstrained problem. The default number of variables is 10. .. note:: Continuous problem having a non-convex Pareto front
:param number_of_variables: Number of decision variables of the problem.
Source code in src/jmetal/problem/multiobjective/zdt.py
dtlz
¶
DTLZ1(number_of_variables=7, number_of_objectives=3)
¶
Bases: FloatProblem
Problem DTLZ1. Continuous problem having a flat Pareto front
.. note:: Unconstrained problem. The default number of variables and objectives are, respectively, 7 and 3.
:param number_of_variables: number of decision variables of the problem.
Source code in src/jmetal/problem/multiobjective/dtlz.py
DTLZ2(number_of_variables=12, number_of_objectives=3)
¶
Bases: DTLZ1
Problem DTLZ2. Continuous problem having a convex Pareto front
.. note:: Unconstrained problem. The default number of variables and objectives are, respectively, 12 and 3.
:param number_of_variables: number of decision variables of the problem
Source code in src/jmetal/problem/multiobjective/dtlz.py
DTLZ3(number_of_variables=12, number_of_objectives=3)
¶
Bases: DTLZ1
Problem DTLZ3. Continuous problem having a convex Pareto front
.. note:: Unconstrained problem. The default number of variables and objectives are, respectively, 12 and 3.
:param number_of_variables: number of decision variables of the problem
Source code in src/jmetal/problem/multiobjective/dtlz.py
DTLZ4(number_of_variables=12, number_of_objectives=3)
¶
Bases: DTLZ1
Problem DTLZ4. Continuous problem having a convex Pareto front
.. note:: Unconstrained problem. The default number of variables and objectives are, respectively, 12 and 3.
:param number_of_variables: number of decision variables of the problem
Source code in src/jmetal/problem/multiobjective/dtlz.py
DTLZ5(number_of_variables=12, number_of_objectives=3)
¶
Bases: DTLZ1
Problem DTLZ5. Continuous problem having a convex Pareto front
.. note:: Unconstrained problem. The default number of variables and objectives are, respectively, 12 and 3.
:param number_of_variables: number of decision variables of the problem
Source code in src/jmetal/problem/multiobjective/dtlz.py
DTLZ6(number_of_variables=12, number_of_objectives=3)
¶
Bases: DTLZ1
Problem DTLZ6. Continuous problem having a convex Pareto front
.. note:: Unconstrained problem. The default number of variables and objectives are, respectively, 12 and 3.
:param number_of_variables: number of decision variables of the problem
Source code in src/jmetal/problem/multiobjective/dtlz.py
DTLZ7(number_of_variables=22, number_of_objectives=3)
¶
Bases: DTLZ1
Problem DTLZ6. Continuous problem having a disconnected Pareto front
.. note:: Unconstrained problem. The default number of variables and objectives are, respectively, 22 and 3.
:param number_of_variables: number of decision variables of the problem
Source code in src/jmetal/problem/multiobjective/dtlz.py
wfg
¶
zcat
¶
eqdtlz
¶
constrained
¶
Srinivas()
¶
Bases: FloatProblem
Class representing problem Srinivas.
Source code in src/jmetal/problem/multiobjective/constrained.py
Tanaka()
¶
Bases: FloatProblem
Class representing problem Tanaka.
Source code in src/jmetal/problem/multiobjective/constrained.py
Osyczka2()
¶
Bases: FloatProblem
Class representing problem Osyczka2.
Source code in src/jmetal/problem/multiobjective/constrained.py
Binh2()
¶
Bases: FloatProblem
Class representing problem Binh2.
Source code in src/jmetal/problem/multiobjective/constrained.py
unconstrained
¶
Kursawe(number_of_variables=3)
¶
Bases: FloatProblem
Class representing problem Kursawe.
Source code in src/jmetal/problem/multiobjective/unconstrained.py
SubsetSum(C, W)
¶
Bases: BinaryProblem
The goal is to find a subset S of W whose elements sum is closest to (without exceeding) C.
This is a bi-objective problem where we want to: 1. Maximize the sum of selected elements (without exceeding C) 2. Minimize the number of selected objects
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
C
|
int
|
The target sum (large integer) |
required |
W
|
list
|
List of non-negative integers to select from |
required |
Source code in src/jmetal/problem/multiobjective/unconstrained.py
OneZeroMax(number_of_bits=256)
¶
Bases: BinaryProblem
The OneZeroMax problem is a multi-objective problem that counts the number of ones and zeros in a binary string.
The objectives are: 1. Maximize the number of ones (minimize negative count) 2. Maximize the number of zeros (minimize negative count)
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
number_of_bits
|
int
|
The length of the binary string (default: 256) |
256
|
Source code in src/jmetal/problem/multiobjective/unconstrained.py
lircmop
¶
LIRCMOP1(number_of_variables=30)
¶
Bases: FloatProblem
Class representing problem LIR-CMOP1, defined in:
- An Improved epsilon-constrained Method in MOEA/D for CMOPs with Large Infeasible Regions. Fan, Z., Li, W., Cai, X. et al. Soft Comput (2019). https://doi.org/10.1007/s00500-019-03794-x
Source code in src/jmetal/problem/multiobjective/lircmop.py
LIRCMOP2(number_of_variables=30)
¶
Bases: LIRCMOP1
Class representing problem LIR-CMOP1, defined in:
- An Improved epsilon-constrained Method in MOEA/D for CMOPs with Large Infeasible Regions. Fan, Z., Li, W., Cai, X. et al. Soft Comput (2019). https://doi.org/10.1007/s00500-019-03794-x
Source code in src/jmetal/problem/multiobjective/lircmop.py
LIRCMOP3(number_of_variables=30)
¶
Bases: LIRCMOP1
Class representing problem LIR-CMOP3, defined in:
- An Improved epsilon-constrained Method in MOEA/D for CMOPs with Large Infeasible Regions. Fan, Z., Li, W., Cai, X. et al. Soft Comput (2019). https://doi.org/10.1007/s00500-019-03794-x
Source code in src/jmetal/problem/multiobjective/lircmop.py
LIRCMOP4(number_of_variables=30)
¶
Bases: LIRCMOP2
Class representing problem LIR-CMOP4, defined in:
- An Improved epsilon-constrained Method in MOEA/D for CMOPs with Large Infeasible Regions. Fan, Z., Li, W., Cai, X. et al. Soft Comput (2019). https://doi.org/10.1007/s00500-019-03794-x
Source code in src/jmetal/problem/multiobjective/lircmop.py
LIRCMOP5(number_of_variables=30)
¶
Bases: FloatProblem
Class representing problem LIR-CMOP5, defined in:
- An Improved epsilon-constrained Method in MOEA/D for CMOPs with Large Infeasible Regions. Fan, Z., Li, W., Cai, X. et al. Soft Comput (2019). https://doi.org/10.1007/s00500-019-03794-x
Source code in src/jmetal/problem/multiobjective/lircmop.py
LIRCMOP6(number_of_variables=30)
¶
Bases: LIRCMOP5
Class representing problem LIR-CMOP6, defined in:
- An Improved epsilon-constrained Method in MOEA/D for CMOPs with Large Infeasible Regions. Fan, Z., Li, W., Cai, X. et al. Soft Comput (2019). https://doi.org/10.1007/s00500-019-03794-x
Source code in src/jmetal/problem/multiobjective/lircmop.py
LIRCMOP7(number_of_variables=30)
¶
Bases: LIRCMOP5
Class representing problem LIR-CMOP7, defined in:
- An Improved epsilon-constrained Method in MOEA/D for CMOPs with Large Infeasible Regions. Fan, Z., Li, W., Cai, X. et al. Soft Comput (2019). https://doi.org/10.1007/s00500-019-03794-x
Source code in src/jmetal/problem/multiobjective/lircmop.py
LIRCMOP8(number_of_variables=30)
¶
Bases: LIRCMOP6
Class representing problem LIR-CMOP8, defined in:
- An Improved epsilon-constrained Method in MOEA/D for CMOPs with Large Infeasible Regions. Fan, Z., Li, W., Cai, X. et al. Soft Comput (2019). https://doi.org/10.1007/s00500-019-03794-x
Source code in src/jmetal/problem/multiobjective/lircmop.py
LIRCMOP9(number_of_variables=30)
¶
Bases: LIRCMOP8
Class representing problem LIR-CMOP9, defined in:
- An Improved epsilon-constrained Method in MOEA/D for CMOPs with Large Infeasible Regions. Fan, Z., Li, W., Cai, X. et al. Soft Comput (2019). https://doi.org/10.1007/s00500-019-03794-x
Source code in src/jmetal/problem/multiobjective/lircmop.py
LIRCMOP10(number_of_variables=30)
¶
Bases: LIRCMOP8
Class representing problem LIR-CMOP10, defined in:
- An Improved epsilon-constrained Method in MOEA/D for CMOPs with Large Infeasible Regions. Fan, Z., Li, W., Cai, X. et al. Soft Comput (2019). https://doi.org/10.1007/s00500-019-03794-x
Source code in src/jmetal/problem/multiobjective/lircmop.py
LIRCMOP11(number_of_variables=30)
¶
Bases: LIRCMOP10
Class representing problem LIR-CMOP11, defined in:
- An Improved epsilon-constrained Method in MOEA/D for CMOPs with Large Infeasible Regions. Fan, Z., Li, W., Cai, X. et al. Soft Comput (2019). https://doi.org/10.1007/s00500-019-03794-x
Source code in src/jmetal/problem/multiobjective/lircmop.py
LIRCMOP12(number_of_variables=30)
¶
Bases: LIRCMOP9
Class representing problem LIR-CMOP9, defined in:
- An Improved epsilon-constrained Method in MOEA/D for CMOPs with Large Infeasible Regions. Fan, Z., Li, W., Cai, X. et al. Soft Comput (2019). https://doi.org/10.1007/s00500-019-03794-x
Source code in src/jmetal/problem/multiobjective/lircmop.py
LIRCMOP13(number_of_variables=30)
¶
Bases: FloatProblem
Class representing problem LIR-CMOP13, defined in:
- An Improved epsilon-constrained Method in MOEA/D for CMOPs with Large Infeasible Regions. Fan, Z., Li, W., Cai, X. et al. Soft Comput (2019). https://doi.org/10.1007/s00500-019-03794-x
Source code in src/jmetal/problem/multiobjective/lircmop.py
LIRCMOP14(number_of_variables=30)
¶
Bases: LIRCMOP13
Class representing problem LIR-CMOP14, defined in:
- An Improved epsilon-constrained Method in MOEA/D for CMOPs with Large Infeasible Regions. Fan, Z., Li, W., Cai, X. et al. Soft Comput (2019). https://doi.org/10.1007/s00500-019-03794-x
Source code in src/jmetal/problem/multiobjective/lircmop.py
fda
¶
FDA1(number_of_variables=100)
¶
Bases: FDA
Problem FDA1.
.. note:: Bi-objective dynamic unconstrained problem. The default number of variables is 100.
:param number_of_variables: Number of decision variables of the problem.
Source code in src/jmetal/problem/multiobjective/fda.py
FDA2(number_of_variables=31)
¶
Bases: FDA
Problem FDA2
.. note:: Bi-objective dynamic unconstrained problem. The default number of variables is 31.
:param number_of_variables: Number of decision variables of the problem.
Source code in src/jmetal/problem/multiobjective/fda.py
FDA3(number_of_variables=30)
¶
Bases: FDA
Problem FDA3
.. note:: Bi-objective dynamic unconstrained problem. The default number of variables is 30.
:param number_of_variables: Number of decision variables of the problem.
Source code in src/jmetal/problem/multiobjective/fda.py
FDA4(number_of_variables=12)
¶
Bases: FDA
Problem FDA4
.. note:: Three-objective dynamic unconstrained problem. The default number of variables is 12.
:param number_of_variables: Number of decision variables of the problem.
Source code in src/jmetal/problem/multiobjective/fda.py
FDA5(number_of_variables=12)
¶
Bases: FDA
Problem FDA5
.. note:: Three-objective dynamic unconstrained problem. The default number of variables is 12.
:param number_of_variables: Number of decision variables of the problem.
Source code in src/jmetal/problem/multiobjective/fda.py
lz09
¶
LZ09(number_of_variables, ptype, dtype, ltype)
¶
Bases: FloatProblem
LZ09 benchmark family as defined in:
- H. Li and Q. Zhang. Multiobjective optimization problems with complicated pareto sets, MOEA/D and NSGA-II. IEEE Transactions on Evolutionary Computation, 12(2):284-302, April 2009.
Source code in src/jmetal/problem/multiobjective/lz09.py
uf
¶
UF1(number_of_variables=30)
¶
Bases: FloatProblem
Problem UF1.
.. note:: Unconstrained problem. The default number of variables is 30.
:param number_of_variables: number of decision variables of the problem.
Source code in src/jmetal/problem/multiobjective/uf.py
UF2(number_of_variables=30)
¶
Bases: FloatProblem
Problem UF2.
.. note:: Unconstrained problem. The default number of variables is 30.
:param number_of_variables: number of decision variables of the problem.
Source code in src/jmetal/problem/multiobjective/uf.py
UF3(number_of_variables=30)
¶
Bases: FloatProblem
Problem UF3.
.. note:: Unconstrained problem. The default number of variables is 30.
:param number_of_variables: number of decision variables of the problem.
Source code in src/jmetal/problem/multiobjective/uf.py
UF4(number_of_variables=30)
¶
Bases: FloatProblem
Problem UF4.
.. note:: Unconstrained problem. The default number of variables is 30.
:param number_of_variables: number of decision variables of the problem.
Source code in src/jmetal/problem/multiobjective/uf.py
UF5(number_of_variables=30, N=10, epsilon=0.1)
¶
Bases: FloatProblem
Problem UF5.
.. note:: Unconstrained problem. The default number of variables is 30.
:param number_of_variables: number of decision variables of the problem. :param N: controls the number of subcomponents in the problem :param epsilon: controls the amplitude of the sine function in the objective
Source code in src/jmetal/problem/multiobjective/uf.py
UF6(number_of_variables=30, N=2, epsilon=0.1)
¶
Bases: FloatProblem
Problem UF6.
.. note:: Unconstrained problem. The default number of variables is 30.
:param number_of_variables: number of decision variables of the problem. :param N: controls the number of subcomponents in the problem (default: 2) :param epsilon: controls the amplitude of the sine function in the objective (default: 0.1)
Source code in src/jmetal/problem/multiobjective/uf.py
UF7(number_of_variables=30)
¶
Bases: FloatProblem
Problem UF7.
.. note:: Unconstrained problem. The default number of variables is 30.
:param number_of_variables: number of decision variables of the problem.
Source code in src/jmetal/problem/multiobjective/uf.py
UF8(number_of_variables=30)
¶
Bases: FloatProblem
Problem UF8 - Three-objective problem.
.. note:: Unconstrained problem. The default number of variables is 30.
:param number_of_variables: number of decision variables of the problem.
Source code in src/jmetal/problem/multiobjective/uf.py
UF9(number_of_variables=30, epsilon=0.1)
¶
Bases: FloatProblem
Problem UF9 - Three-objective problem with variable bounds.
.. note:: Unconstrained problem. The default number of variables is 30.
:param number_of_variables: number of decision variables of the problem. :param epsilon: controls the shape of the Pareto front (default: 0.1)
Source code in src/jmetal/problem/multiobjective/uf.py
UF10(number_of_variables=30)
¶
Bases: FloatProblem
Problem UF10 - Three-objective problem with complex interactions.
.. note:: Unconstrained problem. The default number of variables is 30.
:param number_of_variables: number of decision variables of the problem.
Source code in src/jmetal/problem/multiobjective/uf.py
re
¶
RE21()
¶
Bases: FloatProblem
Problem RE21 from: Ryoji Tanabe and Hisao Ishibuchi, "An easy-to-use real-world multi-objective optimization problem suite", Applied Soft Computing, Vol. 89, 106078 (2020). DOI: https://doi.org/10.1016/j.asoc.2020.106078
This is a two-objective, unconstrained, continuous problem with 4 decision variables.
Source code in src/jmetal/problem/multiobjective/re.py
RE22()
¶
Bases: FloatProblem
Problem RE22 from: Ryoji Tanabe and Hisao Ishibuchi, "An easy-to-use real-world multi-objective optimization problem suite", Applied Soft Computing, Vol. 89, 106078 (2020). DOI: https://doi.org/10.1016/j.asoc.2020.106078
This is a two-objective, unconstrained, mixed-integer problem with 3 decision variables.
Source code in src/jmetal/problem/multiobjective/re.py
RE23()
¶
Bases: FloatProblem
Problem RE23 from: Ryoji Tanabe and Hisao Ishibuchi, "An easy-to-use real-world multi-objective optimization problem suite", Applied Soft Computing, Vol. 89, 106078 (2020). DOI: https://doi.org/10.1016/j.asoc.2020.106078
This is a two-objective, unconstrained, mixed-integer problem with 4 decision variables.
Source code in src/jmetal/problem/multiobjective/re.py
RE24()
¶
Bases: FloatProblem
Problem RE24 from: Ryoji Tanabe and Hisao Ishibuchi, "An easy-to-use real-world multi-objective optimization problem suite", Applied Soft Computing, Vol. 89, 106078 (2020). DOI: https://doi.org/10.1016/j.asoc.2020.106078
This is a two-objective, unconstrained, continuous problem with 2 decision variables.
Source code in src/jmetal/problem/multiobjective/re.py
RE25()
¶
Bases: FloatProblem
Problem RE25 from: Ryoji Tanabe and Hisao Ishibuchi, "An easy-to-use real-world multi-objective optimization problem suite", Applied Soft Computing, Vol. 89, 106078 (2020). DOI: https://doi.org/10.1016/j.asoc.2020.106078
This is a two-objective, unconstrained, mixed-integer problem with 3 decision variables.
Source code in src/jmetal/problem/multiobjective/re.py
RE31()
¶
Bases: FloatProblem
Problem RE31 from: Ryoji Tanabe and Hisao Ishibuchi, "An easy-to-use real-world multi-objective optimization problem suite", Applied Soft Computing, Vol. 89, 106078 (2020). DOI: https://doi.org/10.1016/j.asoc.2020.106078
This is a three-objective, unconstrained, continuous problem with 3 decision variables.
Source code in src/jmetal/problem/multiobjective/re.py
RE32()
¶
Bases: FloatProblem
Problem RE32 from: Ryoji Tanabe and Hisao Ishibuchi, "An easy-to-use real-world multi-objective optimization problem suite", Applied Soft Computing, Vol. 89, 106078 (2020). DOI: https://doi.org/10.1016/j.asoc.2020.106078
This is a three-objective, unconstrained, continuous problem with 4 decision variables.
Source code in src/jmetal/problem/multiobjective/re.py
RE33()
¶
Bases: FloatProblem
Problem RE33 from: Ryoji Tanabe and Hisao Ishibuchi, "An easy-to-use real-world multi-objective optimization problem suite", Applied Soft Computing, Vol. 89, 106078 (2020). DOI: https://doi.org/10.1016/j.asoc.2020.106078
This is a three-objective, unconstrained, continuous problem with 4 decision variables.
Source code in src/jmetal/problem/multiobjective/re.py
RE34(number_of_variables=5)
¶
Bases: FloatProblem
Problem RE34 from: Ryoji Tanabe and Hisao Ishibuchi, "An easy-to-use real-world multi-objective optimization problem suite", Applied Soft Computing, Vol. 89, 106078 (2020). DOI: https://doi.org/10.1016/j.asoc.2020.106078
This is a three-objective, unconstrained, continuous problem with 5 decision variables.
Source code in src/jmetal/problem/multiobjective/re.py
RE35()
¶
Bases: FloatProblem
Problem RE35 from: Ryoji Tanabe and Hisao Ishibuchi, "An easy-to-use real-world multi-objective optimization problem suite", Applied Soft Computing, Vol. 89, 106078 (2020). DOI: https://doi.org/10.1016/j.asoc.2020.106078
This is a three-objective, unconstrained, mixed-integer problem with 7 decision variables.
Source code in src/jmetal/problem/multiobjective/re.py
RE36()
¶
Bases: FloatProblem
Problem RE36 from: Ryoji Tanabe and Hisao Ishibuchi, "An easy-to-use real-world multi-objective optimization problem suite", Applied Soft Computing, Vol. 89, 106078 (2020). DOI: https://doi.org/10.1016/j.asoc.2020.106078
This is a three-objective, unconstrained, discrete problem with 4 decision variables.
Source code in src/jmetal/problem/multiobjective/re.py
RE37()
¶
Bases: FloatProblem
Problem RE37 from: Ryoji Tanabe and Hisao Ishibuchi, "An easy-to-use real-world multi-objective optimization problem suite", Applied Soft Computing, Vol. 89, 106078 (2020). DOI: https://doi.org/10.1016/j.asoc.2020.106078
This is a three-objective, unconstrained, continuous problem with 4 decision variables.
Source code in src/jmetal/problem/multiobjective/re.py
RE41()
¶
Bases: FloatProblem
Problem RE41 from: Ryoji Tanabe and Hisao Ishibuchi, "An easy-to-use real-world multi-objective optimization problem suite", Applied Soft Computing, Vol. 89, 106078 (2020). DOI: https://doi.org/10.1016/j.asoc.2020.106078
This is a four-objective, unconstrained, discrete problem with 7 decision variables and 10 constraints.
Source code in src/jmetal/problem/multiobjective/re.py
RE42()
¶
Bases: FloatProblem
Problem RE42 from: Ryoji Tanabe and Hisao Ishibuchi, "An easy-to-use real-world multi-objective optimization problem suite", Applied Soft Computing, Vol. 89, 106078 (2020). DOI: https://doi.org/10.1016/j.asoc.2020.106078
This is a four-objective, unconstrained, continuous problem with 6 decision variables and 9 constraints. The problem represents a ship design optimization problem.
Source code in src/jmetal/problem/multiobjective/re.py
RE61()
¶
Bases: FloatProblem
Problem RE61 from: Ryoji Tanabe and Hisao Ishibuchi, "An easy-to-use real-world multi-objective optimization problem suite", Applied Soft Computing, Vol. 89, 106078 (2020). DOI: https://doi.org/10.1016/j.asoc.2020.106078
This is a six-objective, unconstrained, continuous problem with 3 decision variables and 7 constraints.
Source code in src/jmetal/problem/multiobjective/re.py
RE91(rng=None)
¶
Bases: FloatProblem
Problem RE91 from: Ryoji Tanabe and Hisao Ishibuchi, "An easy-to-use real-world multi-objective optimization problem suite", Applied Soft Computing, Vol. 89, 106078 (2020). DOI: https://doi.org/10.1016/j.asoc.2020.106078
This is a nine-objective, unconstrained, continuous problem with 7 decision variables plus 4 random variables for a total of 11 variables.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
rng
|
Generator | None
|
Optional random generator used to draw this problem's own random
variables (x7-x10) inside evaluate(). When None, falls back to an
unseeded random.Random() instance, as before this parameter existed
-- note that instance is independent of the global |
None
|
Source code in src/jmetal/problem/multiobjective/re.py
get_closest_value(target_array, comp_value)
¶
Return the value in target_array that is closest to comp_value.
This is a direct translation of the provided Java method. It assumes target_array contains at least one element; otherwise, raises ValueError.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
target_array
|
Sequence[float]
|
A non-empty sequence of floats. |
required |
comp_value
|
float
|
The value to compare against. |
required |
Returns:
| Type | Description |
|---|---|
float
|
The element of target_array with minimum absolute difference to comp_value. |
Source code in src/jmetal/problem/multiobjective/re.py
rwa
¶
Ahmad2017()
¶
Bases: FloatProblem
Problem Ahmad2017 (RWA10) described in the paper "Engineering applications of multi-objective evolutionary algorithms: A test suite of box-constrained real-world problems". DOI: https://doi.org/10.1016/j.engappai.2023.106192
Source code in src/jmetal/problem/multiobjective/rwa.py
Chen2015()
¶
Bases: FloatProblem
Problem Chen2015 (RWA9) described in the paper "Engineering applications of multi-objective evolutionary algorithms: A test suite of box-constrained real-world problems". DOI: https://doi.org/10.1016/j.engappai.2023.106192
Source code in src/jmetal/problem/multiobjective/rwa.py
Ganesan2013()
¶
Bases: FloatProblem
Problem Ganesan2013 (RWA3) described in the paper "Engineering applications of multi-objective evolutionary algorithms: A test suite of box-constrained real-world problems". DOI: https://doi.org/10.1016/j.engappai.2023.106192
Source code in src/jmetal/problem/multiobjective/rwa.py
Gao2020()
¶
Bases: FloatProblem
Problem Gao2020 (RWA5) described in the paper "Engineering applications of multi-objective evolutionary algorithms: A test suite of box-constrained real-world problems". DOI: https://doi.org/10.1016/j.engappai.2023.106192
Source code in src/jmetal/problem/multiobjective/rwa.py
Goel2007()
¶
Bases: FloatProblem
Problem Gao2020 (RWA7) described in the paper "Engineering applications of multi-objective evolutionary algorithms: A test suite of box-constrained real-world problems". DOI: https://doi.org/10.1016/j.engappai.2023.106192
Source code in src/jmetal/problem/multiobjective/rwa.py
Liao2008()
¶
Bases: FloatProblem
Problem Liao2008 (RWA2) described in the paper "Engineering applications of multi-objective evolutionary algorithms: A test suite of box-constrained real-world problems". DOI: https://doi.org/10.1016/j.engappai.2023.106192
Source code in src/jmetal/problem/multiobjective/rwa.py
Padhi2016()
¶
Bases: FloatProblem
Problem Padhi2016 (RWA4) described in the paper "Engineering applications of multi-objective evolutionary algorithms: A test suite of box-constrained real-world problems". DOI: https://doi.org/10.1016/j.engappai.2023.106192
Source code in src/jmetal/problem/multiobjective/rwa.py
Subasi2016()
¶
Bases: FloatProblem
Problem Subasi2016 (RWA1) described in the paper "Engineering applications of multi-objective evolutionary algorithms: A test suite of box-constrained real-world problems". DOI: https://doi.org/10.1016/j.engappai.2023.106192
Source code in src/jmetal/problem/multiobjective/rwa.py
Vaidyanathan2004()
¶
Bases: FloatProblem
Problem Vaidyanathan2004 (RWA8) described in the paper "Engineering applications of multi-objective evolutionary algorithms: A test suite of box-constrained real-world problems". DOI: https://doi.org/10.1016/j.engappai.2023.106192
Source code in src/jmetal/problem/multiobjective/rwa.py
Xu2020()
¶
Bases: FloatProblem
Problem Xu2020 (RWA6) described in the paper "Engineering applications of multi-objective evolutionary algorithms: A test suite of box-constrained real-world problems". DOI: https://doi.org/10.1016/j.engappai.2023.106192
Source code in src/jmetal/problem/multiobjective/rwa.py
misc
¶
multiobjective_tsp
¶
MultiObjectiveTSP(distance_files)
¶
Bases: PermutationProblem
Multi-objective TSP problem.
Reads one or more TSPLIB-like files (NODE_COORD_SECTION) and creates one distance matrix per file. All matrices must have the same dimension.
Usage notes:
- Passing a single filename produces a single-objective problem (i.e.,
number_of_objectives() will be 1). This makes MultiObjectiveTSP a
drop-in replacement for single-objective TSP instances in most codepaths.
- Filenames may be given as absolute/relative paths or as short names
(e.g. "eil101.tsp"); short names are resolved by searching
resources/TSP_instances inside the repository.
- The reader supports typical TSPLIB NODE_COORD_SECTION formats and stops
at EOF/TOUR_SECTION markers.
Source code in src/jmetal/problem/multiobjective/multiobjective_tsp.py
Single-objective¶
unconstrained
¶
OneMax(number_of_bits=256)
¶
Bases: BinaryProblem
The OneMax problem is a simple optimization problem that counts the number of ones in a binary string.
The objective is to maximize the number of ones in the binary string, which is equivalent to minimizing the negative count of ones.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
number_of_bits
|
int
|
The length of the binary string (default: 256) |
256
|
Source code in src/jmetal/problem/singleobjective/unconstrained.py
SubsetSum(C, W)
¶
Bases: BinaryProblem
The goal is to find a subset S of W whose elements sum is closest to (without exceeding) C.
This is a single-objective problem where we want to: 1. Maximize the sum of selected elements (without exceeding C)
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
C
|
int
|
The target sum (large integer) |
required |
W
|
list
|
List of non-negative integers to select from |
required |
Source code in src/jmetal/problem/singleobjective/unconstrained.py
knapsack
¶
Knapsack(number_of_items=50, capacity=1000, weights=None, profits=None, from_file=False, filename=None)
¶
Bases: BinaryProblem
Class representing Knapsack Problem.
Source code in src/jmetal/problem/singleobjective/knapsack.py
tsp
¶
TSP(instance=None)
¶
Bases: PermutationProblem
Backward-compatible wrapper for single-objective TSP.
This class delegates to MultiObjectiveTSP internally, created with a
single filename. It preserves the original API (number_of_objectives() == 1,
evaluate, create_solution) so existing code can switch to it with
minimal changes.