CoMOLA | generic python tool for Constrained Multi
kandi X-RAY | CoMOLA Summary
kandi X-RAY | CoMOLA Summary
CoMOLA is a Python library typically used in Healthcare, Pharma, Life Sciences applications. CoMOLA has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has low support. However CoMOLA build file is not available. You can download it from GitHub.
CoMOLA is a free Python tool to optimize the allocation of land use for multiple objectives. It builds upon the open source "inspyred" Python library and includes functions for reading, encoding and writing land use maps as well as genome generation and repair mutation algorithms for considering constraints during the optimization procedure. It runs on Windows and Linux and allows for the integration of any model whose prediction (e.g. a value for an ecosystem service) is based on a land use raster map. In its basic form, CoMOLA can be used immediately by inputting a raster map representing the status-quo land use, ready-to-run models written in R including their input data, and (optional) information on constraints. As constraints, the tool can consider (1) transition rules defining which type of land use can be converted into which other type and (2) minimum and maximum area proportions of each land use type within the study area. All relevant settings, such as paths to input data and models as well as optimization-specific parameters (e.g. population size, crossover and mutation rates) and settings related to constraint-handling and raster map-analysis are managed in one single control file ("config.ini"). The tool was systematically tested for different levels of complexity (Strauch et al., 2019) and applied for agricultural case studies in the Netherlands (Kromme Rijn, 219 km²) and Central Germany (Lossa, 141 km²) to best reconcile food production, biodiversity and other ecosystem services (Verhagen et al., 2018; Kaim et al., under review); it was also applied for optimizing a virtual urban region to foster plant species richness, climate regulation and compactness (Schwarz et al., 2020).
CoMOLA is a free Python tool to optimize the allocation of land use for multiple objectives. It builds upon the open source "inspyred" Python library and includes functions for reading, encoding and writing land use maps as well as genome generation and repair mutation algorithms for considering constraints during the optimization procedure. It runs on Windows and Linux and allows for the integration of any model whose prediction (e.g. a value for an ecosystem service) is based on a land use raster map. In its basic form, CoMOLA can be used immediately by inputting a raster map representing the status-quo land use, ready-to-run models written in R including their input data, and (optional) information on constraints. As constraints, the tool can consider (1) transition rules defining which type of land use can be converted into which other type and (2) minimum and maximum area proportions of each land use type within the study area. All relevant settings, such as paths to input data and models as well as optimization-specific parameters (e.g. population size, crossover and mutation rates) and settings related to constraint-handling and raster map-analysis are managed in one single control file ("config.ini"). The tool was systematically tested for different levels of complexity (Strauch et al., 2019) and applied for agricultural case studies in the Netherlands (Kromme Rijn, 219 km²) and Central Germany (Lossa, 141 km²) to best reconcile food production, biodiversity and other ecosystem services (Verhagen et al., 2018; Kaim et al., under review); it was also applied for optimizing a virtual urban region to foster plant species richness, climate regulation and compactness (Schwarz et al., 2020).
Support
Quality
Security
License
Reuse
Support
CoMOLA has a low active ecosystem.
It has 9 star(s) with 6 fork(s). There are 8 watchers for this library.
It had no major release in the last 6 months.
There are 0 open issues and 2 have been closed. On average issues are closed in 295 days. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of CoMOLA is current.
Quality
CoMOLA has 0 bugs and 0 code smells.
Security
CoMOLA has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
CoMOLA code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
CoMOLA is licensed under the GPL-3.0 License. This license is Strong Copyleft.
Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.
Reuse
CoMOLA releases are not available. You will need to build from source code and install.
CoMOLA has no build file. You will be need to create the build yourself to build the component from source.
Installation instructions, examples and code snippets are available.
It has 5032 lines of code, 292 functions and 28 files.
It has high code complexity. Code complexity directly impacts maintainability of the code.
Top functions reviewed by kandi - BETA
kandi has reviewed CoMOLA and discovered the below as its top functions. This is intended to give you an instant insight into CoMOLA implemented functionality, and help decide if they suit your requirements.
- Generate a genom
- Writes a log message
- Check the transition matrix
- Writes map to file
- Generate a random parameter
- Check if new candidates are redundant
- Create an individual random seed based on land use
- Checks if a candidate is already in the same_cand
- Save config data to file
- Configure inspyred
- Special termination
- Evolve the given generator
- Save timestamp to file
- Create the output folder
- Initialize log file
- Build a mutant from a candidate
- Update all files in help folders
- Generate a mutant mutation
- Copy models folder
- Select a restricted tournament selection
- Checks if the requirements of the Python module
- Update parameter values in the model folder
- Transform an individual ascii - map
- Collect the worst fitness value for each individual
- Read ini file
- Run a model script
Get all kandi verified functions for this library.
CoMOLA Key Features
No Key Features are available at this moment for CoMOLA.
CoMOLA Examples and Code Snippets
No Code Snippets are available at this moment for CoMOLA.
Community Discussions
No Community Discussions are available at this moment for CoMOLA.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install CoMOLA
CoMOLA was developed and tested for Python 2.7. Furthermore you need to install R to run external models.
Required Python packages matplotlib numpy pylab
Required Python packages matplotlib numpy pylab
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page