You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-112Lines changed: 7 additions & 112 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ The following objectives can be considered
15
15
16
16
Additionally, we allow for a capital growth factor and arbitrary emission reduction constraints to be considered.
17
17
18
-
The `Pareto front`, the set of solutions where one objective can't be improved without worsening the other objective,
18
+
The Pareto front, the set of solutions where one objective can't be improved without worsening the other objective,
19
19
can be computed for the objectives return on capital and diversification.
20
20
21
21
The codebase is based on the following paper:
@@ -25,11 +25,10 @@ The codebase is based on the following paper:
25
25
**Funding:** This research was funded by Rabobank and Stichting TKI High Tech Systems
26
26
and Materials, under a program by Brightland's Techruption.
27
27
28
-
*Limitations in (end-)use: the content of this software package may solely be used for applications that comply with international export control laws.*
29
28
30
29
## Documentation
31
30
32
-
Documentation of the `tno.quantum.problems.portfolio_optimization` package can be found [here](https://tno-quantum.github.io/problems.portfolio_optimization/).
31
+
Documentation of the `tno.quantum.problems.portfolio_optimization` package can be found [here](https://tno-quantum.github.io/documentation/).
33
32
34
33
## Install
35
34
@@ -39,97 +38,12 @@ Easily install the `tno.quantum.problems.portfolio_optimization` package using p
More elaborate examples can be found in our [examples repository](https://github.com/TNO-Quantum/examples).
46
+
Usage examples can be found in the [documentation](https://tno-quantum.github.io/documentation/).
133
47
134
48
Data input
135
49
----------
@@ -148,28 +62,9 @@ The data needs to contain at least the following columns:
148
62
149
63
If the input datafile contains all the correct information, but has different column
150
64
names, it is possible to rename the columns without altering the input file.
151
-
Details and examples can be found in the [documentation]((https://tno-quantum.github.io/problems.portfolio_optimization/)).
152
-
153
-
The data that was used for the publication can be found in the `tno/quantum/problems/portfolio_optimization/datasets/` folder.
154
-
155
65
156
-
Using Quantum Annealing Solvers
157
-
-------------------------------
66
+
The data that was used for the publication can be found in the `src/tno/quantum/problems/portfolio_optimization/datasets/` folder.
158
67
159
-
By default, the portfolio optimization QUBO is solved using simulated annealing.
160
-
Any D-Wave ``Sampler`` is however supported and can be provided to the `PortfolioOptimizer.run` method.
161
-
162
-
163
-
Below is an example how to initialise a quantum annealing sampler that uses `100` micro seconds annealing time per sample.
164
-
The example assumes a proper [configuration setup](https://docs.ocean.dwavesys.com/en/stable/overview/sapi.html) to the D-Wave's Solver API.
165
-
166
-
```python
167
-
from dwave.system import DWaveSampler, LazyFixedEmbeddingComposite
168
-
169
-
# Define QPU D-Wave Sampler
170
-
qpu = DWaveSampler()
171
-
sampler = LazyFixedEmbeddingComposite(qpu)
172
-
sampler_kwargs = {"annealing_time": 100}
173
-
```
174
68
175
-
We refer to the [D-Wave Sampler documentation](https://docs.ocean.dwavesys.com/projects/system/en/stable/reference/samplers.html) for information on usage of different samplers and their sampler arguments.
69
+
## (End)use limitations
70
+
The content of this software may solely be used for applications that comply with international export control laws.
0 commit comments