Skip to content
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

Change portfolio return type #84

Merged
merged 5 commits into from
Jun 2, 2023
Merged

Change portfolio return type #84

merged 5 commits into from
Jun 2, 2023

Conversation

rluce
Copy link
Member

@rluce rluce commented Jun 1, 2023

Using a data class is cleaner and easier to document

@rluce rluce linked an issue Jun 1, 2023 that may be closed by this pull request
@rluce rluce marked this pull request as ready for review June 1, 2023 07:45
Copy link
Member

@simonbowly simonbowly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! I added some pedantically optional comments.

tests/test_portfolio.py Outdated Show resolved Hide resolved
src/gurobi_optimods/portfolio.py Outdated Show resolved Hide resolved
@rluce
Copy link
Member Author

rluce commented Jun 2, 2023

Bumping for @silkehorn :)

@rluce rluce merged commit 7e7cc23 into Gurobi:main Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MeanVariancePortfolio.efficient_portfolio should return a dataclass
2 participants