On the cutting stock problem under stochastic demand.
-
Seminar Chenxin
- Exponential Time Hypothesis - McCormick envelopes - Decoy effect vs Attraction effect - Substitution matrix - Laminar M-Convex Minimization Read More
-
Carbon
Take your way two ways to reduce carbon 1. carbon tax 2. carbon cap and trade 1. Weak carbon reductions. 2. customer surplus vs pollution tradeoff 3. focusing on permit allocation mechanism 4. free permit allocation mechanism: grandfather/ benchmarking lumpsum 一次性支付的金额 customer surplus: 愿意支付的金额与市场价格之差 heterogeneous convex abatement 减... Read More
-
Summary of experience
1. -100 China Mobile 2. -199 Yellow shared bicycle 3. -99 Alipay for a fraudulent website 4. -138 hkd credit card information leakage Read More
-
Meal 2
Excuse me. I dropped my fork. May I have another one? One more, please. 再来一份 Would you like another helping? 服务员问是否再来一份 Anyone wants a second helping? helping = 一份食物 How about seconds? Can I get a refill? 续杯 Drinks are bottomless. That’s an all-you-can-eat restaurant. 吃到饱 Excuse me. It has been almost thirty minutes since I placed ... Read More
-
Summary of stock market
2022年注定是不平凡的一年,从omicron 匆匆来袭为开端,又以最终病毒毒性变弱放松管控为结尾。而与疫情一波三折相呼应的是资本市场的风起云涌,这一年的波动率不可谓不大,如果有敏锐的观察力,能够把握进场时机,赚钱似乎不成问题。 从三月中旬恒生的跌入谷底又迅速反弹中,我们似乎看到了政策底的到来,随着对科技股政策的放松,科技股如同卸下了镣铐,股价毫无压力地冲破阻碍一飞冲天。然而好景不长,伴随着美联储加息美元回流,资产价格和汇率随之下跌,恒生在短暂冲高之后,又迎来漫长的看不到尽头的令人绝望的回撤。 终于随着年底政策的转向,绝大多数股票迎来了接近一倍的增长,如同被三年病毒折磨的压抑心情在尽情释放。然而一切在2023年会变好吗,答案从去年的复盘中就能得到。 这一年,我主要持仓在 Tenc... Read More
-
Record what happened today
In this diary, I will record what happened on 18/1/2023. Take bus 11 to kung kau market. Then find the way to the community testing centres. It says disinfection time during 1.30 pm- 2 pm. When it is 2pm, I wait in line with booked sign. A man came to me, asked where am I going to? I said Chinese Mainland, then gave a note writing 150, TS(咽喉拭子)... Read More
-
Some mistakes should be avoided during research
1. Some thoughts are so naive. You should find some ideas from the literature. Then add the novelty. For example, the greedy commonly will not be the optimal policy, otherwise this problem will be super easy. Someone must find and publish it already. 2. Notice the size of the problem. If it is very small, then using the solver is enough. For ... Read More
-
Some phases Ⅱ
abject orchard curate ramp up purge lay sewer pipes unscathed secrecy front and center Closed-circuit television surveillance vigilance Weibo, Chinese equivalent of twitter scrapped directive rhetoric Triennial 三年一次 fireside chat 炉边会谈 fit the bill 符合要求 accredited 官方认可的 cortex cortical 大脑皮层 皮层的 malaise (广泛存在的)难以捉摸的问题,无法... Read More
-
Python tips
## 作用域 1. 一切作用域都以代码块为单元 代码块可以是 模块文件;函数体;class 定义; 交互式每行的命令; 脚本文件; 脚本命令; eval() and exec() 2. 函数的声明过程中,所有涉及到变量i的作用域内都不会对i进行赋值,仅仅只是保存了这个i变量名,只有在调用函数的时候才会进行赋值操作。 3. Python 在启动的时候就在内存中预先为常用的较小整数值(-5到256)创建好了对象 4. 函数的默认参数是在函数声明时进行赋值的 5. Python 是词法作用域 - 词法作用域是关联在编译期间的,对于函数来说就是函数的定义文本段的位置决定这个函数所属的范围。 - 动态作用域是关联在程序执行期间的,对于函数来说就是函数执行的位置决定这个函数所属的范围... Read More
-
Some default settings I used
1. For vscode: Font color: "editor.foreground": "#e280ae", line number: "editor.selectionForeground": "#6169e2", Selection color: "editorLineNumber.activeForeground": "#56a830", Terminal: "terminal.foreground": "#df6f3c". 2. For jupyter notebook: Read More
-
PyTorch summary
## About the dimension In most cases, system throws a warning because you made a wrong data dimension operation. Watch out the dimension of specific data, you can use the following code to test. ```python w1 = torch.tensor([[1, 2, 1]]) # torch.Size([1, 3]) w3 = torch.tensor([1, 2, 1]) # torch.Size([3]) w2 = w1.view(-1) # in fact, w2 = w3 `... Read More
-
Update Python and Conda
```python word = "Hello" print('word =', word) print(f'word = {word}') print(f'{word = }') ``` ```python conda update conda conda update anaconda ``` ## setting of jupyter notebook [package](https://github.com/dunovank/jupyter-themes) > pip install jupyterthemes or > conda install -c conda-forge jupyterthemes > conda update jupyterthemes ... Read More
-
CMD commonly used command
## Shutdown, restart Shutdown after 3600s > shutdown /s /t 3600 ```cmd shutdown /s shutdown /r ``` ## Directory operation enter d > d: return root directory > cd \ return the last directory > cd .. enter test2, Case insensitive, `tab` completion > cd test1\test2 > cd /d d:/test ## Show content ```cmd dir cd tree d:\test cd d: ```... Read More
-
Matrix Derivative
## Different notations Notice that if we think $f$ expands in a column way, i.e., $\frac{\partial f}{\partial x}=\left[\begin{array}{cccc}\frac{\partial f_1}{\partial x_1} & \frac{\partial f_2}{\partial x_1} & \cdots & \frac{\partial f_m}{\partial x_1} \\ \frac{\partial f_1}{\partial x_2} & \frac{\partial f_2}{\partial x_2} & \cdots & \frac{\pa... Read More
-
Machine learning to solve large TSP
## Reference [1](https://ekimetrics.github.io/blog/2021/11/03/tsp/) [2](https://zhuanlan.zhihu.com/p/556690129) [3](https://github.com/pfpimenta/tsp_ml) [4](https://github.com/jakesant/tsp_machine_learning) [5](https://github.com/ahmedstohy/hybrid-pointer-networks) https://sagemaker-examples.readthedocs.io/en/latest/reinforcement_learning/... Read More
-
How to test Python in Leetcode
## 实例化类(Manually) After finishing your method, copy the input in the example, then have a test. ```python class Solution: def gcdOfStrings(self, str1: str, str2: str) -> str: return '' if __name__ == "__main__": s = Solution() # 测试Example中的用例1 # Input: str1 = "ABCABC", str2 = "ABC" # Output: "ABC" str1 = "ABCABC" str2... Read More
-
Skills frequently used in Python
[add on that](https://blog.csdn.net/qsmx666/article/details/115433624) ## Usage of Bisect bisect是python内置模块,用于有序序列的插入和查找。 查找: bisect(array, item) 插入: insort(array,item) ```python import bisect a = [1,2,2,5,8] position = bisect.bisect(a,7)#找到插入位置 print(position) # 4 bisect.insort(a,4)#找到位置插入 print(a) # [1, 2, 2, 4, 5, 8] bisect.bisect_left(... Read More
-
Useful Idioms II
1. ‘The best of both worlds’ – means you can enjoy two different opportunities at the same time. “By working part-time and looking after her kids two days a week she managed to get the best of both worlds.” 2. ‘Speak of the devil’ – this means that the person you’re just talking about actually appears at that moment. “Hi Tom, speak of the d... Read More
-
Some phases Ⅰ
Have some faith: 有点信心 just in case: 以防万一 this is legit: 这非常棒 Leave it alone:别管了 I told you so: 我早就告诉过你 That depends:要看情况而定 Never mind: 算了 Forget about it: 算了吧,别想它了 It's a long story: 说来话长了 Believe it or not: 信不信由你 I coundn't help it:我忍不住了(想做某件事情) don't get me wrong:别误解我 don't bother:别费心了 don't waste your energy:别费劲了 stop wasting y... Read More
-
Basic elements convert in Python
## List to Dictionary ```python a = ['a1','a2','a3','a4'] b = ['b1','b2','b3'] d = zip(a,b) print(dict(d)) # {'a1': 'b1', 'a2': 'b2', 'a3': 'b3'} ``` ### Use counter to obtain a aggregated form from List ```python from collections import Counter counter_dic = Counter(counter_list) ``` ## Dictionary to List ```python list(dit) # key list(d... Read More
-
Reply frequently used
## Common phrases for not having an opinion: - I’ve never given it much thought. - I don’t have strong feelings either way. - It doesn’t make any difference to me. - I have no opinion on the matter. ## Common phrases for agreeing: - Exactly. - Absolutely. - That’s so true. - That’s for sure. - I agree 100% - I couldn’t agree with you more. - ... Read More
-
Some Research advice
1. 先看综述,后看论著。 看综述搞清概念,看论著掌握方法。 2. 早动手。 在师兄师姐离开之前学会关键技术。 3. 多数文章看摘要,少数文章看全文。 掌握了一点查全文的技巧,往往会以搞到全文为乐,以至于没有时间看文章的内容,更不屑于看摘要。真正有用的全文并不多,过分追求全文是浪费,不可走极端。当然只看摘要也是不对的。 4. 集中时间看文献。 看过总会遗忘,看文献的时间越分散,浪费时间越多。集中时间看更容易联系起来,形成整体印象。 5. 做好记录和标记。 复印或打印的文献,直接用笔标记或批注。pdf 或html 格式的文献,可以用编辑器标亮或改变文字颜色。这是避免时间浪费的又一重要手段。否则等于没看。 6. 准备引用的文章要亲自看过。 转引造成的以讹传讹不胜枚举。 7. 注... Read More
-
Iterable and hashable in Python
## Hashable An object is hashable if it has a hash value which never changes during its lifetime (it needs a __hash__() method), and can be compared to other objects (it needs an __eq__() or __cmp__() method). Hashable objects which compare equal must have the same hash value. Hashability makes an object usable as a dictionary key and a set me... Read More
-
Difference between .sty and .cls
Notice the headline of class and style: ```tex \NeedsTeXFormat{LaTeX2e} \ProvidesClass{minimal}[1995/10/30 Standard LaTeX minimal class] ``` ```tex \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{eecs} ``` [Reference](https://www.jianshu.com/p/12b4a4b3afce) [use style](https://tex.stackexchange.com/questions/91167/why-use-sty-files) [diff def](ht... Read More
-
Some useful LaTex commands you could define(II)
### Basic linear programming ```tex \begin{equation}\label{equation} \begin{aligned} \mbox{max} \quad & x \\ \mbox{s.t.} \quad & x \\ & x \geq 0, \mbox{integer}\quad \mbox{for}~ i=1,\ldots,m,\\ \end{aligned} \end{equation} ``` ### Algorithm ```tex \begin{algorithm}[H]\label{algo} \caption{The algorithm} \begin{description} ... Read More
-
Some useful LaTex commands you could define
# LaTeX Reference for Probability ## Shortcuts These are commands you would define in the preamble. ```tex \documentclass{article} \usepackage{amsmath} % COMMANDS GO HERE \begin{document} ``` ### Absolute Value ```tex \newcommand{\abs}[1]{\lvert #1 \rvert} \newcommand{\bigabs}[1]{\Bigl \lvert #1 \Bigr \rvert} ``` * `\abs{x}` becomes $$\l... Read More
-
How to open Jyputer Notebook with a specified environment.
0. `conda install nb_conda` 1. Check the environment. `conda env list` 2. Enter into the environment. `conda activate env` 3. install a package at your new env `conda install ipykernel` or `conda install -n your_env ipykernel` `python -m ipykernel install --env` Read More
-
How to change the address of Jyputer Notebook.
## Change the default address 1. Find the folder which is used to store 'config': In `cmd`, input `jupyter notebook --generate-config` 2. find the file: 'jupyter_notebook_config.py', open it. 3. `c.NotebookApp.notebook_dir = 'specified path' ` delete the comment # 4. reboot, done. Remark: 'c.NotebookApp.browser' can change the browser. ... Read More
-
How to set the domain name
1. Buy the domain name 2. 域名备案 3. DNS(域名解析) 4. 搭建(购买)服务器 / 或 CNAME For github, go to your repository(yourname.github.io), choose 'pages', force 'https'. Read More
-
Terms of Service Agreement
1. Acceptance By using the HKUST Learning Management System (“LMS”, “Service”) provided by Instructure, Inc. (“Service Provider”) and managed by HKUST LMS Administrator (“Administrator”, “We”, ‘Us”), you (“User”, “Users”) are agreeing to be bound by the following terms and conditions (“Terms of Service”). 2. User restriction Users are not allow... Read More
-
Useful Idioms
1. Come out of the blue To happen unexpectedly. She seemed so surprised by the news that it must have come out of the blue. You need to work hard—opportunities don't just come out of the blue. 2. Do a double take To look twice due to surprise or disbelief. Everyone did a double take at his shiny new sports car as he drove by. Men and women... Read More
-
How to create a virtual environment
## Background When developing software with Python, a basic approach is to install Python on your machine, install all your required libraries via the terminal, write all your code in a single .py file or notebook, and run your Python program in the terminal. This is a common approach for a lot of beginners and many people transitioning from w... Read More
-
Learn PyTorch
## What is PyTorch Predictive modeling with deep learning is a skill that modern developers need to know. PyTorch is the premier open-source deep learning framework developed and maintained by Facebook. ------------------------------------------------ PyTorch is a Python-based scientific computing package serving two broad purposes: - A rep... Read More
-
Commonly used noun suffixes
Many words in English are formed from the same root or base word. By adding different suffixes, a range of new words can be formed. A suffix is a letter or a group of letters that are added to the end of a word to make a new word. Generally, suffixes have a particular meaning. When a suffix is added to a base word and that base word becomes a n... Read More
-
How to install PyTorch
## How to install PyTorch 1. enter anaconda base 2. conda create -n PyTorch python=3.9 创建一个 python 的虚拟环境, PyTorch 是环境变量名(可以是任意英文) Next time, you can activate this virtual environment directly. Remark: conda env remove -n ***(PyTorch) 3. conda activate PyTorch 激活虚拟环境 (base) \to (PyTorch) (开发环境) 4. 进入官网根据配置选择安装 GPU or CPU, 在(PyTorch) 环境下... Read More
-
What to say before and after a meal
## What to say before a meal If you're having friends over for lunch or dinner, you can say the following: - Let's dig in (or 'dig in') - Enjoy your meal (or 'enjoy') - Hope you enjoy what we've made for you - Bon appetit 'Bon appetit' is one of the many French phrases adopted by the English language. Using this phrase is a very popular way of... Read More
-
Dietary restrictions
Are you on a special diet? Do you avoid (eating) any food? you have any food allergy, taboo, anything you don't eat. Are you a vegetarian? food taboo 是指在文化和宗教上的(比如说伊斯兰教徒不吃猪肉) food allergy 是指生理上的过敏 Read More
-
Poetry
> 云想衣裳花想容,春风拂槛露华浓。 > 如鉴发光如玉指,未成云鬓也怜人。 ---杨兆品《咏美人梳头》 > 云想衣裳花想容,春风拂槛露华浓。 ---李白《杂曲歌辞·清平调》 > 粉胸半掩疑晴雪,醉眼斜回小样刀。 ---方干《赠美人四首·其一》 > 媚眼随羞合,丹唇逐笑分。 ---何思澄《拟古诗》 众里嫣然通一顾,人间颜色如尘土。 ---王国维《蝶恋花》 吐纳樱唇,氛氲兰气,玉纤握处堪怜。 ---何承燕《吸烟美人》 手如柔荑,肤如凝脂,领如蝤蛴,齿如瓠犀。 ---《诗经·卫风·硕人》 含歌媚盼如桃叶,妙舞轻盈似柳枝。 ---方干《赠美人四首·其二》 垆边人似月,皓腕凝霜雪。 ---韦庄《菩萨蛮·其二》 巧病轻笼,月痕半吐真珠莹。 ---沈谦《点绛唇·美人耳》 状似明... Read More
-
Polytope
A polyhedron is a special case of a polytope, or, equivalently, a polytope is a generalization of a polyhedron. A polytope has a certain dimension n, and when n=3 we say that the polytope is a polyhedron. (Similarly when n=2 we say that the polytope is a polygon.) This is analogous to how we can define a general n-dimensional sphere, and how we... Read More
-
Useful skills
1. Mermaid lets you create diagrams and visualizations using text and code. 2. Plantuml 3. Read More
-
Leetcode Framework with Java
Reference:  The post is used to record the leetcode framework by using Java. 1. At the beginning, I don't know how to program with Java. In order to improve the efficiency, we should formulate the procedure when we write the code. 2. Notice that there are two parts: test examples and a... Read More
-
Java basics
Java 基础之 main 方法解读: 一、深入理解 main 方法:(由java虚拟机调用) 解释 main 方法的形式:public static void main (String [] args){} -1.Java虚拟机需要调用类的 main()方法,所以该方法的访问权限必须是 public; -2.Java虚拟机在执行 main() 方法的时候不必创建对象,所以该方法必须是 static; -3.该方法接收 String 类型的数组参数,该数组中保存执行 Java 命令是传递给所运行的类的参数; -4.Java执行程序时,传入参数。 二、特别提示: -1.在 main() 方法中,我们可以直接调用 main() 方法所在类的静态方法或静态属性。 -2.但是,... Read More
-
Minimax regret
Maximin, maximax and minimax regret are three approaches to decision making under uncertainty. 1. The maximax rule involves selecting the alternative that maximises the maximum payoff available. The manager who employs the maximax criterion is a risk-taker. 2. The maximin rule involves selecting the alternative that maximises the minimum pay-... Read More
-
Useful Phrases
1. Just give me a moment/minute/sec. Could you wait a moment please? 2. Could/can you hold please? 3. Have/take a seat, please. 4. On a side note 另一方面 5. A blessing in disguise 因祸得福 6. Not a cloud in the sky 万里无云;万事大吉 7. Rise and shine! 快起床! 8. A sight for sore eyes 乐于看到的人,喜闻乐见的事 9. In/with hindsight 事后看来 10. Tip-top 顶呱呱 ... Read More
-
Summary about coding
1. Realize some functions seperately. But when you merge these functions into a main function, remember to use the same name(data structure) representing the same variable. 2. Would better design the flow of the functions at the beginning. Add to the main function after testing each sub-function. Read More
-
Summary about Gurobi
## addMVar vs addVar For MVar, z = m.addMVar(shape = W, vtype=GRB.CONTINUOUS) just use z[0] to indicate the first variable. For Var, x ={} for i in range(1,3): x[i] = model.addVar(lb = 0, ub = GRB.INFINITY, vtype = GRB.CONTINUOUS, name = 'x_' + str(i)) Use x[1] to indicate the first variable. ## addConstrs() vs addConstr() model.ad... Read More
-
How to prepare an excellent thesis defense
Original link. https://paperpile.com/g/thesis-defense/ ## What is a thesis defense? If you're about to complete, or have ever completed a graduate degree, you have most likely come across the term "thesis defense". In many countries, to finish a graduate degree, you have to write a thesis. In general, a thesis is a large paper based on a topic... Read More
-
What is a thesis defense?
Original link: https://www.cc.gatech.edu/faculty/ashwin/wisdom/what-is-a-thesis-defense.html ## What is a thesis defense? A thesis defense has two parts: a thesis and a defense. The second mistake many students make is not knowing what their thesis is. The third mistake is not knowing how to defend it. (The first mistake is describe later.) ##... Read More
-
Some phases
1. What a pity In a sarcastic sense. Day to day, I'll be like -- Daily. That sucks. That's too bad. That's a shame. 2. Just so-so. It's alright. It's ok. It's not bad. 3. Seldom Rarely Hardly ever I don't really do that... That's not for me... 1. Some adverbs. Honestly, Basically, Actually, Definitely, Inherently. Probably, ... Read More
-
Mistakes in LaTex
## About the equation. When you use a wrong combination, the program will have errors. For example, if you use begin aligned seperately, you will encounter some problems. - begin align end align - begin equation begin aligned end aligned end equation - \\[ begin split end split \\] ## About the text You could use \\mbox{content} or \\... Read More
-
Mistakes should be avoided
-1. The cancellation of the meeting is due to the rain. due to= caused by -2. Thank you for considering my request. I will be grateful for the help. I hope you will be able to provide the information. Instead of 'thank you in advance'. -3. If there is any question, please let me know. Should you have any question, please let me know. Read More
-
Make an order in a restaurant
-1. Can I get a drip coffee, please?/May I have a drip coffee, please? Do you have drip coffee?/Can I order a drip coffee? 手冲咖啡 -2. Can I get this to go? I’d like the Spaghetti and Meatballs, to go please. Can I have the Fried Rice and Egg Rolls? Take out. For here or to go? *For here, please* -3. Is that all you'll be ordering?/ Would yo... Read More
-
How to run Jekyll
## Installing Jekyll ### Install Ruby Use Ruby --version to check ### Install Bundler gem install bundler ### Install Jekyll Write the following in Gemfile source 'https://rubygems.org' gem 'github-pages' Then use the command to run jekyll in the local server. bundle exec jekyll serve http://localhost:4000 Problem 1: Please add the fo... Read More
-
Some literature reviews
On the cutting stock problem under stochastic demand. Read More
-
Python issue
四舍六入五成双/单 ieee754 round(1.315,2) = 1.31 round(7.55,1) = 7.5 python判断某个模块是否有某个方法 import requests hasattr(requests,'get') 查看方法 import typing help(typing.List) print(dir(typing)) typing.__file__ print(typing.__doc__) 查看对象 object.dit 查看源代码 inspect 一个Python内置的标准库 drill 是一个第三方库 import inspect from bs4 import BeautifulSoup 先看看Be... Read More
-
2022 QE Exam Summary
DOR: -1. objective function the summation of bivariate function with a knapsack constraint develop a DP state, stage, recursion, value function What if add another term \(x_n x_1\) -2. what the relation between \(\min cx s.t. Ax \geq b\) and \(\max cx s.t. Ax \leq b\) when these two LPs have finite optimal solutions. In fact, they will... Read More
-
2022 SOR Final Exam Summary
-1. Finite states markov chain Irreducible. You should know the difference between recurrent and transient. -2. M/M/2/n 2 : servers. n : Waiting space. -3. \(M/M/\infty\) Birth and death process. Define the correct states. -4. Notice the difference between simple random walk and gambler ruin problem. The probability of a before b. The ex... Read More
-
Advice on stock market
1、低价股不要进!只有强者恒强,少有弱者转强,股价低于6元,要么是业绩不行,要么是主力不喜欢,总之都没有上涨的逻辑,很难出现黑马股,形态再好不要进! 2、高位出利好的票不要进!当一只股票涨幅超过80%以上,然后再出利好的大多数是吸引散户跟风接盘,因为消息主力已经提前知晓,如果跟风的人不多可能还会拉一波再诱多,如果跟风人过多主力直接出货造成股价大跌! 3、偏离均线过远的票不要进!任何一只股票的上涨都会依托某根均线,比如10日或者20日均线,但当连续大阳线上涨偏离这根均线过远的时候不要着急介入,因为他往往会回调到均线附近再二次上攻,势必给你更好的点位! 4、跳空三连阳的票不要进!当一只股票连续跳空高开高走,出现2个没有回补的缺口的3根阳线后,大概率是主力拉一波就跑,后市通常会跌的,所... Read More
-
10 Tips "For Successful Public Speaking"
Feeling some nervousness before giving a speech is natural and even beneficial. But too much nervousness can be detrimental. Here are some proven tips on how to control your butterflies and give better presentations: -1. Know your material Pick a topic you intersted in. Know more about it than you include in your speech. -2. Practice. Practic... Read More
-
Shit / Fuck
Shit Take a shit Oh shit! (surprising) The shit (Great) Piece of shit (Bad) Give a shit (care about) Eat shit (if you fall down then you ate shit) Shitty (Terrible) Fuck Fuck (Unhappy) Fuck this (Give it up, 去你的) Fuck off (get off) F... Read More
-
Useful accumulation
-1. Don’t get me wrong 别误会我 -2. You have my word 我保证 -3. Can I take a rain check? 你可以改天嘛? -4. Hang on a sec 等一下 -5. I’ll give it a shot 我试试看 -6. I’m gonna do -7. finna “Finna” is an abbreviation for the phrase “fixing to.” It is essentially used in place of the more common (and the more easily understandable) “gonna,” which is short for “g... Read More
-
Reply to the 'Thank you'
Reply to the ‘Thank you’ 1.My pleasure./It’s my pleasure.乐意效劳;这是我的荣幸。 这一句回答相当客气并且有礼貌,可以用来回答那些你乐于热心帮助的人,也可以显示你的热情。这句话比“You’re welcome”更加正式,语气也强。通常男生们会在女生面前显示一下自己足够绅士,用上这句话。你还可以说,“It was my pleasure.”或者“Pleasure is all mine.” 2.Sure/Sure thing.应该的 你相信吗?这是美国人最常见的回答方式之一,但是飞儿打赌90%的人都没学过,并且不知道能这么说。你肯定会疑惑,用Sure回答不是“当然”的意思吗?几乎每个去美国的中国人,都会对老美回答“sure”... Read More
-
Analysis about stock market
如果此时估值较高,则需要判断 估值是否能够被之后的盈利所摊平,能够摊平,则股价继续横盘或者上升。不能则显然会下跌。 实际利率 要参考 名义利率差值(央行)和通胀差值。 股市和经济之间的关系: 内需,对内的价值 外需 流动性 通胀预期反转 产业政策引导,资金成本低都会带来估值扩张 通胀预期减弱,外需减弱, 内需恢复增长同时享受估值扩张的–消费类龙头。 外需增长,高PPI支持,产业扶持高估值扩张–新能源。 中债告诉内需如何,PPI(M)告诉外需如何。 人民币开始贬值则意味着外需开始减弱 根据上述分析就能够得到a股市场的微观结构 Read More
-
Analysis about stock market
巨人网络 为了提前止盈,卖出了筹码,被洗出来了,大失败。所以这个时候要忘记自己的成本,不要为了那么一点蝇头小利而抛弃筹码。少盈利 10%。 哔哩哔哩,注意看基本面,不要轻易抄底。技术分析还是有点用的,一旦跌破支撑位,谨慎操作。 阿里巴巴不用说,严重低估,买就完事了。 360 网络安全 等待机会。 船舶周期。 格力 但是要注意 A股的大多数公司没有什么核心竞争力,靠的是关系,所以需要格外的注意甄选。 行业分析: 医药自从疫情以来,一直处于高位,即使价值回调,股价依然是处于高位的。 地产、银行、保险、家电在21年的不断下跌使得22年的投资机会大增。 投资股市不是考满分的应试考试,是答出你会做的题就可以赚钱,所以要去做确定性大的事,找估值低的板块... Read More
-
What Is Good Research
对于城市研究,或者社会科学研究这个大类来说,什么是好的研究,有各种各样的判断标准。有的人认为,没有做过的,我做了填补了空白,就是好研究。有的认为有新东西的才是创新。新也有各种新,填补空白也是新,新瓶装旧酒也是新。有的要求更高一些,认为研究必须对知识有贡献,才能说是好研究。知识贡献可以是理论贡献,经验贡献,方法贡献,也可以是具体技术的贡献。我觉得好研究的标准还可以更高一些 。 一个好的研究,不仅面对的问题是清晰且直指本质的,而且是采用了一种非常巧妙的方式回答这个问题。这种巧妙并不是走捷径,而是可以复制借鉴的理论视角、逻辑、方法论,使得人类得以以全新的视角认识或解决这个问题。巧妙的理论解释不仅要经历过奥卡姆剃刀,还能够大大提升实证的价值,并且最后反过来促进理论理解的进步。巧妙的方法论能... Read More
-
Finite-Sample analysis of reinforcement learning
Contraction mapping Q-learning 2022-11-16 Rui Gao– Optimal robust policy for feature-based newsvendor 2022-11-17 Yinyu Ye– Online linear programming: applications and extensions Multi-armed bandit problem 2022-11-14 Min Dai– bitcoin mining and electricity consumption Read More
-
Hyperlink in Markdown
行内式 1.普通链接: Google 2.指向本地文件的链接: red.jpg 自动链接 使用 <> 包括的 URL 或邮箱地址会被自动转换为超链接: http://www.google.com/ 123@email.com Read More
-
2021 DOR Final Exam
The main content about deterministic models. Duality theorem. Weak/Strong duality. Set covering/partition/packing $Kx \geq e, Kx = e, Kx \leq e$. Nonlinear programming. Use KKT conditions. Convexity. Use definition to prove. Dynamic lot sizing. If every period we can order two types of products, w... Read More
-
2021 ES Final Exam Content
GLM. *2 You should know the difference between logit and probit regression. Why this model use the normal distribution as the link function. EM algorithm– How to obtain the Q function.(log likelihood function) Quantile Regression Strat from the median, which is the 50% quantile regression. You should know the background of quantile... Read More
-
The application of the lazy constraints to solving the symmetric TSP problem.
Abstract This project presents an overview of the lazy constraints and their application to the TSP problem. At first, I will give the description of the symmetric TSP and its most commonly formulation. After introducing the lazy constraints, I will use the standard TSP instances to test the effectiveness of lazy formulations. Then I will bring... Read More
-
An exhibit of Markdown
This note demonstrates some of what Markdown is capable of doing. An exhibit of Markdown Note: Feel free to play with this page. Unlike regular notes, this doesn’t automatically save itself. Basic formatting Paragraphs can be written like so. A paragraph is the basic block of Markdown. A paragraph is what text will turn into when there is no... Read More
-
Mathjax Test
A safe integer is an integer that can be exactly represented as an IEEE-754 double precision number, and whose IEEE-75 representation cannot be the result of rounding any other integer to fit the IEEE-754 representation For example, $ 2 ^ {53} - 1 $ is a safe integer, it can be exactly represented Read More
-
Table example
Table example as below For now, these extended features are provided: Cells spanning multiple columns Cells spanning multiple rows Cells text align separately Table header not required Grouped table header rows or data rows Rowspan and Colspan ^^ in a cell indicates it should be merged with the cell above. This feature is contribu... Read More
-
Quick markdown example
Paragraphs are separated by a blank line. 2nd paragraph. Italic, bold, and monospace. Itemized lists look like: this one that one the other one Note that — not considering the asterisk — the actual text content starts at 4-columns in. Block quotes are written like so. They can span multiple paragraphs, if you like. Use 3 dash... Read More
-
Test markdown
You can write regular markdown here and Jekyll will automatically convert it to a nice webpage. I strongly encourage you to take 5 minutes to learn how to write in markdown - it’ll teach you how to transform regular text into bold/italics/headings/tables/etc. Here is some bold text Here is a secondary heading Here’s a useless table: ... Read More
-
Another test markdown
Put the math expression within $…$: \(\LaTeX{}\) $\Pi$ $ a * b = c ^ b $ $ 2^{\frac{n-1}{3}} $ $ \int_a^b f(x)\,dx. $ \( \int_a^b f(x)\,dx. \) \[\begin{cases} \text{if true}\ foo \\ \text{if false}\ bar \end{cases}\] $ \rho {\rm{FOD}} = \sum\limits{\sigma ,i} {(\delta _1 - \delta _2 n_i^\sigma ) \phi _i^\sigma ({\bf{... Read More