Closed jlperla closed 7 years ago
Alternatively, look at http://www.princeton.edu/~moll/HACTproject/HACT_Additional_Codes.pdf equation (7) etc, but add in the 2nd order term.
I re-considered the boundary value problem we discussed last Friday, and I notice that this scheme just requires the continuity at both end points (V(x_min - epsilon) = x_min and V(x_max + epsilon) =x_max). Then the second derivative can be simplified to the one they used.
Sounds good. Lets discuss when you have this written up in equations (i.e. modifying optimal_stopping_notes.tex).
Also, the latest commits you pushed broke the simple_optimal_stopping_diffusion.m
calculations. Can you commit whatever version you have that compile (so I can play with a few things)? In general, best to commit only working versions (i.e., ones that run the run_examples.m
and run_matlab_tests.m
without compilation errors.
I think I have completed this issue. I just committed changes I have made to matlab code and latex notes. Please take a look at it. I will be available from 2 - 4pm if you want to discuss about it.
Looks great. I am going to take a look and make a few changes and reorganizations, so leave the code alone for now. I will close this and post up other tasks or comments as required.
Finish the annotation of: examples/continous_time_methods/optimal_stopping/option_simple_LCP.m
You will see a bunch of TODOs in the file. A few of them:
sig_bar = 0.01; sig = x.*sig_bar; sig2 = sig.^2;