Skip to content

Add docstrings to Optimization class and methods #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

commitverse
Copy link

This pull request adds docstrings to the Optimization class and its related methods in the optimization.py file. These docstrings provide a clearer understanding of the purpose, parameters, and return values of each method, making the codebase more maintainable and beginner-friendly.

Changes made:
Added class-level docstring to Optimization.

Documented key methods: init, set_objective, solve, solve_qpsolvers, and model_qpsolvers.

This is part of addressing Issue #6 on improving documentation and code clarity.

@vfisikop vfisikop requested a review from cbachela April 9, 2025 07:21
@vfisikop vfisikop added the documentation Improvements or additions to documentation label Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants