Skip to content

Commit

Permalink
folder structure has been corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepkunkunuru committed Oct 2, 2024
1 parent 12edfc7 commit b942a20
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ tests/__pycache__/
build/
dist/
*.egg-info/
.pypirc
.pypirc
example.py
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ These algorithms are designed to solve both **constrained** and **unconstrained*
You can install this package directly from PyPI:

```bash
pip install optimization_algorithms
pip install rao_algorithms
```

Alternatively, you can clone this repository and install it locally:

```bash
git clone https://github.com/your-username/optimization_algorithms.git
git clone https://github.com/VaidhyaMegha/optimization_algorithms.git
cd optimization_algorithms
pip install .
```
Expand All @@ -36,7 +36,7 @@ pip install .

```python
import numpy as np
from optimization_algorithms import BMR_algorithm, objective_function
from rao_algorithms import BMR_algorithm, objective_function

# Define the bounds for a 2D problem
bounds = np.array([[-100, 100]] * 2)
Expand All @@ -55,7 +55,7 @@ print(f"Best fitness found: {best_fitness}")

```python
import numpy as np
from optimization_algorithms import BWR_algorithm, objective_function, constraint_1, constraint_2
from rao_algorithms import BWR_algorithm, objective_function, constraint_1, constraint_2

# Define the bounds for a 2D problem
bounds = np.array([[-100, 100]] * 2)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def read_file(filename):

setup(
name='rao_algorithms',
version='0.1.3',
version='0.1.4',
author='Samdeep Kunkunuru',
author_email='[email protected]',
description='BMR and BWR optimization algorithms with constraint handling',
Expand Down
Binary file not shown.

0 comments on commit b942a20

Please sign in to comment.