Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
light-weaver committed Oct 17, 2022
2 parents 21c5d61 + 6cced1e commit 2fdc2d2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ To test the code, open the [binder link](https://mybinder.org/v2/gh/industrial-o
Read the documentation [here](https://desdeo-emo.readthedocs.io/en/latest/)

### Requirements
* Python 3.7 or newer.
* Python 3.8 or newer.
* [Poetry dependency manager](https://github.com/sdispater/poetry): Only for developers

### Installation process for normal users
Expand Down
2 changes: 1 addition & 1 deletion desdeo_emo/population/CreateIndividuals.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def create_new_individuals(design, problem, pop_size=None):

if design == "RandomDesign":
lower_limits = np.asarray(problem.get_variable_lower_bounds())
upper_limits = np.asarray(problem.get_variable_upper_bounds)
upper_limits = np.asarray(problem.get_variable_upper_bounds())
individuals = np.random.random((pop_size, problem.n_of_variables))
# Scaling
individuals = individuals * (upper_limits - lower_limits) + lower_limits
Expand Down
3 changes: 3 additions & 0 deletions desdeo_emo/recombination/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
"EvoDN2Recombination",
"BioGP_xover",
"BioGP_mutation",
"SinglePoint_Xover",
"SinglePoint_Mutation",
]

from desdeo_emo.recombination.biogp_mutation import BioGP_mutation
Expand All @@ -16,3 +18,4 @@
from desdeo_emo.recombination.evodn2_xover_mutation import EvoDN2Recombination
from desdeo_emo.recombination.evonn_xover_mutation import EvoNNRecombination
from desdeo_emo.recombination.SimulatedBinaryCrossover import SBX_xover
from desdeo_emo.recombination.SinglePointCrossoverMutation import SinglePoint_Xover, SinglePoint_Mutation
Binary file modified docs/README.md
Binary file not shown.

0 comments on commit 2fdc2d2

Please sign in to comment.