Skip to content

Commit

Permalink
updated readme and gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
aliasgharchakera committed Dec 25, 2023
1 parent c33c893 commit 39972ce
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 6 deletions.
8 changes: 6 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@
*.aux
*.out
*.log
*.pdf
.DS_Store
auto/
solution/
__pycache__/
resources/
resources/
*.synctex.gz
*.synctex.gz(busy)
*.xml
*.run.xml
*.bbl
Binary file not shown.
Binary file added Project Proposal/main.pdf
Binary file not shown.
17 changes: 13 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
# CI-Spring23-Project
# Optimization of Artificial Lights in a Room using Evolutionary Algorithms

## Introduction
### We have used Evolutionary Algorithm to attempt to optimize the number of artificial lights in a room. The goal is to minimize the number of lights while maintaining a certain level of illumination. The illumination is calculated using the inverse square law. The fitness function incorporates both the number of lights and the number of lit tiles.
This project is a part of the course **CS 451 Computation Intelligence** at **Habib University, Karachi**. The goal of this project is to optimize the position and number of artificial lights in a room using evolutionary algorithms.

## Problem Statement
The problem statement is to optimize the position and number of artificial lights in a room such that the room is illuminated with the least number of lights and the least amount of energy is consumed.

## Solution
The solution to this problem is to use evolutionary algorithms to optimize the position and number of lights in a room. The room is represented as a 2D grid and the lights are represented as circles. The circles are placed randomly in the room and the fitness of each circle is calculated. The fitness of a circle is calculated by the number of cells in the room that are illuminated by the circle. The circles with the highest fitness are selected and the next generation of circles is created by applying crossover and mutation on the selected circles. The process is repeated until the room is illuminated with the least number of lights and the least amount of energy is consumed.

## Results
The results of the project are shared in the [report](Report\Optimizing_Illumination__Using_an_Evolutionary_Algorithm_to_Balance_Artificial_and_Natural_Light_in_Rooms.pdf) of the project.

## Contributors

<a href="https://github.com/aliasgharchakera/CI-Spring23-Project/graphs/contributors">
<img src="https://contrib.rocks/image?repo=aliasgharchakera/CI-Spring23-Project" />
<a href="https://github.com/aliasgharchakera/lights-optimization-using-evolutionary-algorithms/graphs/contributors">
<img src="https://contrib.rocks/image?repo=aliasgharchakera/lights-optimization-using-evolutionary-algorithms" />
</a>

Made with [contrib.rocks](https://contrib.rocks).
Binary file added Report/IEEEtran_HOWTO.pdf
Binary file not shown.
Binary file not shown.
Binary file added Report/conference_101719.pdf
Binary file not shown.
Binary file removed Report/conference_101719.synctex.gz
Binary file not shown.

0 comments on commit 39972ce

Please sign in to comment.