Comments (7)
I like it. I think it won't harm much if the nup function allows for either the variance-covariance matrix, or its factor.
from gurobi-optimods.
Maybe we should complement this Nup with a minimum variance portfolio selection (you'd minimize "just" x @ Q @ X), or can this be covered by some paramters in this Nup already?
from gurobi-optimods.
I think we (@etowle, @silkehorn, and myself) should team up and create a small variety of base models in the financial space. This one and #9 are the first two on the list, but they would share the interface (and implementation) of the extra gadgets (min. buy-in, max. allocations, etc.). We may be even able to integrate the online-problem (you start with an existing allocation) into each formulation. A third variation may be needed for minimizing a tracking error.
from gurobi-optimods.
I would love to see the best way to include these in a multi-objective problem. Sharpe, TE, MV, etc...How would you link the y world and x in an efficient and convex way using the built in multi-objective method?
from gurobi-optimods.
Hi @ChinSquared, could you please elaborate on what you mean here? Gurobi allows you to combine objectives either as a weighted sum, or in a hierarchical manner using priorities. Which are you looking for, and for which metrics?
from gurobi-optimods.
Sure, for example, if you specify a hierarchical objective, first is to max Sharpe with a budget of 20 bps. Then minimize tracking error as the second objective. Other constraints in the portfolio are active like max trade, step size, max positions. Thanks!
from gurobi-optimods.
To incorporate other performance metrics into the Sharpe ratio model and retain convexity, these other metrics would have to be modeled in the space of the y
variables (the reformulated variable space used in the Sharpe ratio model). This is because:
- The Sharpe ratio model is only convex in the space of the
y
variables - We can't simultaneously model some metrics in the
x
-variable space and others in they
- variable space, unless we link together thex
andy
variables with the non-convex constraintsx = y / (e^T y)
At any rate, I fear a multi-objective, multiple-metric model with side constraints is outside the scope of what this Mod is trying to accomplish. That said, you could always use the Sharpe ratio model-building code as a starting point for building a more complex model:
gurobi-optimods/src/gurobi_optimods/sharpe_ratio.py
Lines 87 to 100 in d1723e8
from gurobi-optimods.
Related Issues (20)
- Conda package HOT 1
- Add a generic timelimit parameter
- Mention time limit more prominently
- Vertex Coloring Optimod HOT 4
- Facility location optimod HOT 3
- OPF problem HOT 6
- Update (most) mods to return a dataclass
- lower and upper bound for the real part of the slack voltage
- Metromap - Octilinear Graph Representation
- Numpy 2.0 Compatibility HOT 1
- Fix numpy 2.0 and scipy 1.14 incompatibilities
- Missing option in line optimization mod documentation HOT 2
- Two edges between two nodes not properly calculated HOT 2
- Link to KB article explaining Gurobi-side of the optimods HOT 4
- Updates to the workforce scheduling mod HOT 1
- Use pydocstyle to force pedantism on our docstrings via precommit hook HOT 1
- Extend the workforce scheduling mod HOT 2
- Mod enhancement: labor rules in workforce mod HOT 1
- Make sure linked article in mod error message is public HOT 1
- Domino Art HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gurobi-optimods.