xxxxxxxxxx
Sign in to import from GitHub:
Link to GitHub:
Or start with a template:
The decision function in the Tinlake contracts is using different weights to achieve the following order:
uint public weightSeniorRedeem = 1000000;
uint public weightJuniorRedeem = 100000;
uint public weightJuniorSupply = 10000;
uint public weightSeniorSupply = 1000;
Max Function:
max weightSeniorRedeem*DROP_Redeem + weightJuniorRedeem * TIN_Redeem + weightJuniorSupply*TIN_Invest + weightSeniorSupply*DROP_Invest
Problem can be seen as a Goal Programming
Problem.
Web archive link:
http://web.archive.org/web/20180711215700/http://www.maths.ed.ac.uk/hall/Xpress/FICO_Docs/optimizer/HTML/section5004.html
A Glorious Literature on Linear Goal Programming Algorithms
The double role of the weight factor in the goal programming model
A Suggested Approach for Solving Weighted Goal Programming Problem
The setting of weights in linear goal-programming problems
An application of linear goal programming to the marketing distribution decision
www.sciencedirect.com/science/article/abs/pii/037722179190168U
Bank Financial Statement Management using a Goal Programming
Model
https://www.sciencedirect.com/science/article/pii/S1877042815054063
The Simplex Algorithm and Goal Programming
http://course.sdu.edu.cn/G2S/eWebEditor/uploadfile/20120921020943618.pdf
Example 1:
11 drop invest order
1 tin redeem order
- Assuming both are not possible because the TINratio would break
DROP_invest_weight = 1
TIN_redeem_weight = 10
(1 tin redeem, 0 drop invest)
(1 tin redeem, 1 drop invest)
(1 tin redeem, 2 drop invest)
(1 tin redeem, 3 drop invest)
(1 tin redeem, 4 drop invest)
...
(0 tin redeem, 9 drop invest)
(0 tin redeem, 10 drop invest)
or
Do you really want to delete this template?
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Please sign in to GitHub and install the HackMD app on your GitHub repo. Learn more
Sign in to GitHubHackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
Syncing