systemml-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brendan Dwyer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SYSTEMML-1594) Mlogit performance
Date Mon, 08 May 2017 22:56:04 GMT

     [ https://issues.apache.org/jira/browse/SYSTEMML-1594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brendan Dwyer updated SYSTEMML-1594:
------------------------------------
    Labels: performance  (was: )

> Mlogit performance
> ------------------
>
>                 Key: SYSTEMML-1594
>                 URL: https://issues.apache.org/jira/browse/SYSTEMML-1594
>             Project: SystemML
>          Issue Type: Bug
>          Components: Algorithms
>    Affects Versions: SystemML 0.13
>         Environment: --master yarn --deploy-mode client --driver-memory 10G --executor-memory 100G --num-executors 2 --executor-cores 48
>            Reporter: Brendan Dwyer
>            Priority: Minor
>              Labels: performance
>
> Mlogit in SparkR with a dense csv file (~120,000,000 rows & 10 columns) takes about 200 seconds while in SystemML it takes hours.
> stats when I killed the job:
> {code}
> Total elapsed time:		3810.682 sec.
> Total compilation time:		1.346 sec.
> Total execution time:		3809.336 sec.
> Number of compiled Spark inst:	86.
> Number of executed Spark inst:	199.
> Cache hits (Mem, WB, FS, HDFS):	3130/0/116/31.
> Cache writes (WB, FS, HDFS):	454/348/0.
> Cache times (ACQr/m, RLS, EXP):	427.049/0.007/644.593/0.000 sec.
> HOP DAGs recompiled (PRED, SB):	0/693.
> HOP DAGs recompile time:	0.482 sec.
> Spark ctx create time (lazy):	7.391 sec.
> Spark trans counts (par,bc,col):0/274/30.
> Spark trans times (par,bc,col):	0.000/491.867/176.149 secs.
> Total JIT compile time:		112.869 sec.
> Total JVM GC count:		1222.
> Total JVM GC time:		306.026 sec.
> Heavy hitter instructions (name, time, count):
> -- 1) 	sp_mapmmchain 	1606.520 sec 	108
> -- 2) 	sp_mapmm 	367.025 sec 	56
> -- 3) 	append 	272.604 sec 	29
> -- 4) 	sprop 	239.554 sec 	108
> -- 5) 	exp 	238.915 sec 	29
> -- 6) 	rangeReIndex 	217.167 sec 	164
> -- 7) 	- 	188.271 sec 	318
> -- 8) 	/ 	164.405 sec 	334
> -- 9) 	tak+* 	138.371 sec 	29
> -- 10) 	log 	132.135 sec 	30
> {code}
> Hops explain:
> {code}
> PROGRAM
> --MAIN PROGRAM
> ----GENERIC (lines 69-98) [recompile=true]
> ------(4) TWrite fileB [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------(6) TWrite fileLog [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------(8) TWrite fmtB [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------(10) TWrite intercept_status [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------(12) TWrite regularization [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------(15) TWrite maxiter [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------(17) TWrite maxinneriter [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------(19) TWrite tol [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> ------(21) u(print) [-1,-1,-1,-1,-1] [0,0,0 -> 0MB]
> ------(23) u(print) [-1,-1,-1,-1,-1] [0,0,0 -> 0MB]
> ------(34) PRead X [120748239,9,1000,1000,-1] [0,0,8291 -> 8291MB] [rblk], SPARK
> ------(35) TWrite X (34) [120748239,9,1000,1000,-1] [8291,0,0 -> 8291MB], SPARK
> ------(37) u(print) [-1,-1,-1,-1,-1] [0,0,0 -> 0MB]
> ------(48) PRead Y_vec [120748239,1,1000,1000,-1] [0,0,921 -> 921MB] [rblk,chkpt], CP
> ------(49) TWrite Y_vec (48) [120748239,1,1000,1000,-1] [921,0,0 -> 921MB], CP
> ------(51) TWrite eta0 [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------(53) TWrite eta1 [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------(55) TWrite eta2 [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------(57) TWrite sigma1 [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------(59) TWrite sigma2 [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------(61) TWrite sigma3 [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------(63) TWrite psi [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------(65) TWrite N [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> ------(67) TWrite D [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> ----GENERIC (lines 103-104) [recompile=true]
> ------(76) TRead X [120748239,9,1000,1000,-1] [0,0,8291 -> 8291MB], SPARK
> ------(85) dg(rand) [120748239,1,1000,1000,120748239] [0,1,921 -> 922MB], CP
> ------(86) b(cbind) (76,85) [120748239,10,1000,1000,-1] [9212,0,9212 -> 18425MB] [chkpt], SPARK
> ------(87) TWrite X (86) [120748239,10,1000,1000,-1] [9212,0,0 -> 9212MB], SPARK
> ------(89) TWrite D [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> ----GENERIC (lines 107-107) [recompile=false]
> ------(90) TRead D [0,0,0,0,-1] [0,0,0 -> 0MB]
> ------(98) dg(rand) (90) [10,1,1000,1000,-1] [0,0,0 -> 0MB], CP
> ------(99) TWrite scale_lambda (98) [10,1,1000,1000,-1] [0,0,0 -> 0MB], CP
> ----GENERIC (lines 110-110) [recompile=false]
> ------(108) TRead scale_lambda [10,1,1000,1000,-1] [0,0,0 -> 0MB], CP
> ------(107) TRead D [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> ------(112) lix (108,107,107) [10,1,1000,1000,-1] [0,0,0 -> 0MB], CP
> ------(113) TWrite scale_lambda (112) [10,1,1000,1000,-1] [0,0,0 -> 0MB], CP
> ----GENERIC (lines 124-126) [recompile=true]
> ------(174) TRead D [0,0,0,0,-1] [0,0,0 -> 0MB]
> ------(183) dg(rand) (174) [10,1,1000,1000,-1] [0,0,0 -> 0MB], CP
> ------(184) TWrite scale_X (183) [10,1,1000,1000,-1] [0,0,0 -> 0MB], CP
> ------(192) dg(rand) (174) [10,1,1000,1000,0] [0,0,0 -> 0MB], CP
> ------(193) TWrite shift_X (192) [10,1,1000,1000,0] [0,0,0 -> 0MB], CP
> ------(175) TRead X [120748239,10,1000,1000,-1] [0,0,9212 -> 9212MB], SPARK
> ------(1150) ua(sq+R) (175) [-1,-1,1000,1000,-1] [9212,921,921 -> 11055MB], SPARK
> ------(197) TWrite rowSums_X_sq (1150) [120748239,1,1000,1000,-1] [921,0,0 -> 921MB], CP
> ----GENERIC (lines 142-142) [recompile=false]
> ------(198) TRead Y_vec [120748239,1,1000,1000,-1] [0,0,921 -> 921MB], CP
> ------(199) ua(maxRC) (198) [0,0,-1,-1,-1] [921,0,0 -> 921MB], CP
> ------(200) TWrite max_y (199) [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> ----IF (lines 143-147)
> ------GENERIC (lines 145-146) [recompile=false]
> --------(206) TRead Y_vec [120748239,1,1000,1000,-1] [0,0,921 -> 921MB], CP
> --------(208) b(-) (206) [120748239,1,1000,1000,-1] [921,0,921 -> 1842MB], CP
> --------(205) TRead max_y [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> --------(209) b(+) (208,205) [120748239,1,1000,1000,-1] [921,0,921 -> 1842MB], CP
> --------(211) b(+) (209) [120748239,1,1000,1000,-1] [921,0,921 -> 1842MB], CP
> --------(213) b(<=) (206) [120748239,1,1000,1000,-1] [921,0,921 -> 1842MB], CP
> --------(214) b(*) (211,213) [120748239,1,1000,1000,-1] [1842,0,921 -> 2764MB], CP
> --------(215) b(+) (206,214) [120748239,1,1000,1000,-1] [1842,0,921 -> 2764MB], CP
> --------(216) TWrite Y_vec (215) [120748239,1,1000,1000,-1] [921,0,0 -> 921MB], CP
> --------(218) b(+) (205) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(219) TWrite max_y (218) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----GENERIC (lines 148-161) [recompile=true]
> ------(231) dg(seq) [120748239,1,1000,1000,-1] [0,0,921 -> 921MB], CP
> ------(227) TRead Y_vec [120748239,1,1000,1000,-1] [0,0,921 -> 921MB], CP
> ------(226) TRead max_y [-1,-1,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------(235) t(ctable) (231,227,226) [120748239,-1,1000,1000,-1] [1842,4606,19807 -> 26255MB] [rblk], SPARK
> ------(236) TWrite Y (235) [120748239,-1,1000,1000,-1] [19807,0,0 -> 19807MB], SPARK
> ------(237) u(ncol) (235) [0,0,-1,-1,-1] [19807,0,0 -> 0MB]
> ------(239) b(-) (237) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------(240) TWrite K (239) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------(223) TRead scale_lambda [10,1,1000,1000,-1] [0,0,0 -> 0MB], CP
> ------(248) dg(rand) (239) [1,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> ------(249) ba(+*) (223,248) [10,-1,1000,1000,-1] [14745,0,14745 -> 29490MB], SPARK
> ------(251) b(*) (249) [10,-1,1000,1000,-1] [14745,0,14745 -> 29490MB], SPARK
> ------(252) TWrite lambda (251) [10,-1,1000,1000,-1] [14745,0,14745 -> 29490MB], SPARK
> ------(220) TRead D [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> ------(254) u(sqrt) (220) [0,0,-1,-1,-1] [0,0,0 -> 0MB]
> ------(255) b(*) (254) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------(225) TRead rowSums_X_sq [120748239,1,1000,1000,-1] [0,0,921 -> 921MB], CP
> ------(256) u(sqrt) (225) [120748239,1,1000,1000,-1] [921,0,921 -> 1842MB], CP
> ------(257) ua(maxRC) (256) [0,0,-1,-1,-1] [921,0,0 -> 921MB], CP
> ------(258) b(/) (255,257) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------(259) TWrite delta (258) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------(266) dg(rand) (220,239) [-1,-1,1000,1000,0] [0,0,14745 -> 14745MB], SPARK
> ------(267) TWrite B (266) [-1,-1,1000,1000,0] [14745,0,14745 -> 29490MB], SPARK
> ------(276) b(+) (239) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------(277) dg(rand) (276) [120748239,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> ------(280) b(/) (277,276) [120748239,-1,1000,1000,-1] [14745,0,14745 -> 29490MB], SPARK
> ------(281) TWrite P (280) [120748239,-1,1000,1000,-1] [14745,0,14745 -> 29490MB], SPARK
> ------(285) u(log) (276) [-1,-1,-1,-1,-1] [0,0,0 -> 0MB]
> ------(286) b(*) (285) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------(287) TWrite obj (286) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------(224) TRead X [120748239,10,1000,1000,-1] [0,0,9212 -> 9212MB], SPARK
> ------(288) r(t) (224) [10,120748239,1000,1000,-1] [9212,0,9212 -> 18425MB], SPARK
> ------(292) rix (280,239) [120748239,-1,1000,1000,-1] [14745,0,- -> 13824MB], SPARK
> ------(296) rix (235,239) [120748239,-1,1000,1000,-1] [19807,0,19807 -> 39613MB], SPARK
> ------(297) b(-) (292,296) [120748239,-1,1000,1000,-1] [18885,0,111237619183 -> 111237638069MB], SPARK
> ------(298) ba(+*) (288,297) [10,-1,1000,1000,-1] [111237628396,9212,9212 -> 111237646820MB], SPARK
> ------(299) TWrite Grad (298) [10,-1,1000,1000,-1] [9212,0,0 -> 9212MB], SPARK
> ----GENERIC (lines 165-167) [recompile=true]
> ------(316) TRead Grad [10,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> ------(320) TWrite Grad (316) [10,-1,1000,1000,-1] [14745,0,14745 -> 29490MB], SPARK
> ------(322) b(^) (316) [10,-1,1000,1000,-1] [14745,0,14745 -> 29490MB], SPARK
> ------(323) ua(+RC) (322) [0,0,-1,-1,-1] [14745,0,0 -> 14745MB], SPARK
> ------(324) u(sqrt) (323) [0,0,-1,-1,-1] [0,0,0 -> 0MB]
> ------(325) TWrite norm_Grad (324) [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> ------(326) TWrite norm_Grad_initial (324) [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> ----GENERIC (lines 170-170) [recompile=false]
> ------(330) TRead D [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> ------(331) TRead K [-1,-1,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------(332) b(*) (330,331) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------(333) TWrite maxinneriter (332) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----GENERIC (lines 172-177) [recompile=false]
> ------(340) TWrite iter [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------(338) TRead norm_Grad [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> ------(335) TRead tol [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> ------(341) b(<) (338,335) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------(345) b(|) (341) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------(346) TWrite converge (345) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------(337) TRead obj [-1,-1,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------(348) b(+) (337) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------(350) b(+) (348) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------(351) b(+) (350,338) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------(353) b(+) (351) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------(334) TRead delta [-1,-1,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------(354) b(+) (353,334) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------(355) u(print) (354) [-1,-1,-1,-1,-1] [0,0,0 -> 0MB]
> ----GENERIC (lines 184-184) [recompile=false]
> ------(372) TWrite log_str [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----GENERIC (lines 187-353) [recompile=true]
> ------(1140) TRead shift_X [10,1,1000,1000,0] [0,0,0 -> 0MB] [chkpt], CP
> ------(1141) TWrite shift_X (1140) [10,1,1000,1000,0] [0,0,0 -> 0MB], CP
> ------(1142) TRead lambda [10,-1,1000,1000,-1] [0,0,14745 -> 14745MB] [chkpt], SPARK
> ------(1143) TWrite lambda (1142) [10,-1,1000,1000,-1] [14745,0,14745 -> 29490MB], SPARK
> ------(1144) TRead scale_X [10,1,1000,1000,-1] [0,0,0 -> 0MB] [chkpt], CP
> ------(1145) TWrite scale_X (1144) [10,1,1000,1000,-1] [0,0,0 -> 0MB], CP
> ------(1146) TRead X [120748239,10,1000,1000,-1] [0,0,9212 -> 9212MB] [chkpt], SPARK
> ------(1147) TWrite X (1146) [120748239,10,1000,1000,-1] [9212,0,0 -> 9212MB], SPARK
> ------(1148) TRead Y [120748239,-1,1000,1000,-1] [0,0,14745 -> 14745MB] [chkpt], SPARK
> ------(1149) TWrite Y (1148) [120748239,-1,1000,1000,-1] [14745,0,14745 -> 29490MB], SPARK
> ----WHILE (lines 187-353) [in-place=[B]]
> ------GENERIC (lines 190-197) [recompile=true]
> --------(375) TRead D [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> --------(378) TRead K [-1,-1,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(387) dg(rand) (375,378) [-1,-1,1000,1000,0] [0,0,14745 -> 14745MB], SPARK
> --------(388) TWrite S (387) [-1,-1,1000,1000,0] [14745,0,14745 -> 29490MB], SPARK
> --------(379) TRead Grad [10,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> --------(390) b(-) (379) [10,-1,1000,1000,-1] [14745,0,14745 -> 29490MB], SPARK
> --------(391) TWrite R (390) [10,-1,1000,1000,-1] [14745,0,14745 -> 29490MB], SPARK
> --------(392) TWrite V (390) [10,-1,1000,1000,-1] [14745,0,14745 -> 29490MB], SPARK
> --------(377) TRead delta [-1,-1,0,0,-1] [0,0,0 -> 0MB], CP
> --------(394) b(^) (377) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(395) TWrite delta2 (394) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(397) TWrite inneriter [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(399) b(^) (390) [10,-1,1000,1000,-1] [14745,0,14745 -> 29490MB], SPARK
> --------(400) ua(+RC) (399) [0,0,-1,-1,-1] [14745,0,0 -> 14745MB], SPARK
> --------(401) TWrite norm_R2 (400) [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> --------(402) u(sqrt) (400) [0,0,-1,-1,-1] [0,0,0 -> 0MB]
> --------(380) TRead norm_Grad [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> --------(404) b(*) (380) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(405) b(<=) (402,404) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(406) TWrite innerconverge (405) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(408) TWrite is_trust_boundary_reached [-1,-1,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------GENERIC (lines 199-241) [recompile=true]
> --------(1130) TRead scale_X [10,1,1000,1000,-1] [0,0,0 -> 0MB] [chkpt], CP
> --------(1131) TWrite scale_X (1130) [10,1,1000,1000,-1] [0,0,0 -> 0MB], CP
> --------(1132) TRead shift_X [10,1,1000,1000,0] [0,0,0 -> 0MB] [chkpt], CP
> --------(1133) TWrite shift_X (1132) [10,1,1000,1000,0] [0,0,0 -> 0MB], CP
> --------(1134) TRead P [120748239,-1,1000,1000,-1] [0,0,14745 -> 14745MB] [chkpt], SPARK
> --------(1135) TWrite P (1134) [120748239,-1,1000,1000,-1] [14745,0,14745 -> 29490MB], SPARK
> --------(1136) TRead lambda [10,-1,1000,1000,-1] [0,0,14745 -> 14745MB] [chkpt], SPARK
> --------(1137) TWrite lambda (1136) [10,-1,1000,1000,-1] [14745,0,14745 -> 29490MB], SPARK
> --------(1138) TRead X [120748239,10,1000,1000,-1] [0,0,9212 -> 9212MB] [chkpt], SPARK
> --------(1139) TWrite X (1138) [120748239,10,1000,1000,-1] [9212,0,0 -> 9212MB], SPARK
> ------WHILE (lines 199-241)
> --------GENERIC (lines 205-205) [recompile=true]
> ----------(430) TRead V [10,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> ----------(431) TWrite ssX_V (430) [10,-1,1000,1000,-1] [14745,0,14745 -> 29490MB], SPARK
> --------GENERIC (lines 207-208) [recompile=true]
> ----------(435) TRead X [120748239,10,1000,1000,-1] [0,0,9212 -> 9212MB], SPARK
> ----------(442) r(t) (435) [10,120748239,1000,1000,-1] [9212,0,9212 -> 18425MB], SPARK
> ----------(434) TRead P [120748239,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> ----------(433) TRead K [-1,-1,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(439) rix (434,433) [120748239,-1,1000,1000,-1] [14745,0,- -> 13824MB], SPARK
> ----------(432) TRead ssX_V [10,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> ----------(440) ba(+*) (435,432) [120748239,-1,1000,1000,-1] [23957,0,14745 -> 38702MB], SPARK
> ----------(441) b(*) (439,440) [120748239,-1,1000,1000,-1] [13824,0,14745 -> 28569MB], SPARK
> ----------(447) ua(+R) (441) [120748239,1,1000,1000,-1] [14745,921,921 -> 16587MB], SPARK
> ----------(457) b(*) (439,447) [120748239,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> ----------(458) b(-) (441,457) [120748239,-1,1000,1000,-1] [29490,0,14745 -> 44235MB], SPARK
> ----------(459) ba(+*) (442,458) [10,-1,1000,1000,-1] [23957,0,14745 -> 38702MB], SPARK
> ----------(460) TWrite HV (459) [10,-1,1000,1000,-1] [14745,0,14745 -> 29490MB], SPARK
> --------GENERIC (lines 212-215) [recompile=true]
> ----------(476) TRead HV [10,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> ----------(477) TRead lambda [10,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> ----------(480) TRead V [10,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> ----------(481) b(*) (477,480) [10,-1,1000,1000,-1] [29490,0,14745 -> 44235MB], SPARK
> ----------(482) b(+) (476,481) [10,-1,1000,1000,-1] [29490,0,14745 -> 44235MB], SPARK
> ----------(483) TWrite HV (482) [10,-1,1000,1000,-1] [14745,0,14745 -> 29490MB], SPARK
> ----------(478) TRead norm_R2 [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> ----------(484) b(*) (480,482) [10,-1,1000,1000,-1] [29490,0,14745 -> 44235MB], SPARK
> ----------(485) ua(+RC) (484) [0,0,-1,-1,-1] [14745,0,0 -> 14745MB], SPARK
> ----------(486) b(/) (478,485) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(487) TWrite alpha (486) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(479) TRead S [-1,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> ----------(1159) t(+*) (479,486,480) [-1,-1,1000,1000,-1] [29490,0,0 -> 29490MB], SPARK
> ----------(490) TWrite Snew (1159) [10,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> ----------(492) b(^) (1159) [10,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> ----------(493) ua(+RC) (492) [0,0,-1,-1,-1] [14745,0,0 -> 14745MB], SPARK
> ----------(494) TWrite norm_Snew2 (493) [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> --------IF (lines 216-238)
> ----------GENERIC (lines 218-223) [recompile=true]
> ------------(499) TRead Snew [10,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> ------------(506) TWrite S (499) [10,-1,1000,1000,-1] [14745,0,14745 -> 29490MB], SPARK
> ------------(501) TRead R [10,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> ------------(504) TRead alpha [-1,-1,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------------(500) TRead HV [10,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> ------------(1161) t(-*) (501,504,500) [10,-1,1000,1000,-1] [29490,0,- -> 29490MB], SPARK
> ------------(509) TWrite R (1161) [10,-1,1000,1000,-1] [-,0,14745 -> 14745MB], SPARK
> ------------(511) b(^) (1161) [10,-1,1000,1000,-1] [-,0,14745 -> 14745MB], SPARK
> ------------(512) ua(+RC) (511) [0,0,-1,-1,-1] [14745,0,0 -> 14745MB], SPARK
> ------------(513) TWrite norm_R2 (512) [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> ------------(502) TRead norm_R2 [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> ------------(514) b(/) (512,502) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------------(503) TRead V [10,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> ------------(1163) t(+*) (1161,514,503) [10,-1,1000,1000,-1] [14745,0,- -> 14745MB], SPARK
> ------------(517) TWrite V (1163) [10,-1,1000,1000,-1] [-,0,14745 -> 14745MB], SPARK
> ------------(518) u(sqrt) (512) [0,0,-1,-1,-1] [0,0,0 -> 0MB]
> ------------(505) TRead norm_Grad [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> ------------(520) b(*) (505) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------------(521) b(<=) (518,520) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------------(522) TWrite innerconverge (521) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------ELSE
> ----------GENERIC (lines 225-229) [recompile=true]
> ------------(527) TWrite is_trust_boundary_reached [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------------(523) TRead S [-1,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> ------------(524) TRead V [10,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> ------------(528) b(*) (523,524) [10,-1,1000,1000,-1] [29490,0,14745 -> 44235MB], SPARK
> ------------(529) ua(+RC) (528) [0,0,-1,-1,-1] [14745,0,0 -> 14745MB], SPARK
> ------------(530) TWrite sv (529) [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> ------------(532) b(^) (524) [10,-1,1000,1000,-1] [14745,0,14745 -> 29490MB], SPARK
> ------------(533) ua(+RC) (532) [0,0,-1,-1,-1] [14745,0,0 -> 14745MB], SPARK
> ------------(534) TWrite v2 (533) [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> ------------(536) b(^) (523) [-1,-1,1000,1000,-1] [14745,0,14745 -> 29490MB], SPARK
> ------------(537) ua(+RC) (536) [0,0,-1,-1,-1] [14745,0,0 -> 14745MB], SPARK
> ------------(538) TWrite s2 (537) [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> ------------(540) b(^) (529) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------------(525) TRead delta2 [-1,-1,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------------(541) b(-) (525,537) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------------(542) b(*) (533,541) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------------(543) b(+) (540,542) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------------(544) u(sqrt) (543) [-1,-1,-1,-1,-1] [0,0,0 -> 0MB]
> ------------(545) TWrite rad (544) [-1,-1,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------IF (lines 230-234)
> ------------GENERIC (lines 231-231) [recompile=false]
> --------------(550) TRead delta2 [-1,-1,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------------(551) TRead s2 [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> --------------(553) b(-) (550,551) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------------(552) TRead sv [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> --------------(549) TRead rad [-1,-1,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------------(554) b(+) (552,549) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------------(555) b(/) (553,554) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------------(556) TWrite alpha (555) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------ELSE
> ------------GENERIC (lines 233-233) [recompile=false]
> --------------(557) TRead rad [-1,-1,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------------(558) TRead sv [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> --------------(560) b(-) (557,558) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------------(559) TRead v2 [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> --------------(561) b(/) (560,559) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------------(562) TWrite alpha (561) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------GENERIC (lines 235-237) [recompile=true]
> ------------(565) TRead S [-1,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> ------------(567) TRead alpha [-1,-1,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------------(566) TRead V [10,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> ------------(1165) t(+*) (565,567,566) [-1,-1,1000,1000,-1] [29490,0,0 -> 29490MB], SPARK
> ------------(570) TWrite S (1165) [10,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> ------------(564) TRead R [10,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> ------------(563) TRead HV [10,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> ------------(1166) t(-*) (564,567,563) [10,-1,1000,1000,-1] [29490,0,- -> 29490MB], SPARK
> ------------(573) TWrite R (1166) [10,-1,1000,1000,-1] [-,0,14745 -> 14745MB], SPARK
> ------------(575) TWrite innerconverge [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------GENERIC (lines 239-240) [recompile=false]
> ----------(578) TRead inneriter [-1,-1,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(580) b(+) (578) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(581) TWrite inneriter (580) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(577) TRead innerconverge [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> ----------(576) TRead maxinneriter [-1,-1,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(582) b(>) (580,576) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(583) b(|) (577,582) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(584) TWrite innerconverge (583) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------GENERIC (lines 246-248) [recompile=true]
> --------(588) TRead S [10,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> --------(586) TRead Grad [10,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> --------(589) b(*) (588,586) [10,-1,1000,1000,-1] [29490,0,14745 -> 44235MB], SPARK
> --------(590) ua(+RC) (589) [0,0,-1,-1,-1] [14745,0,0 -> 14745MB], SPARK
> --------(591) TWrite gs (590) [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> --------(587) TRead R [10,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> --------(593) b(*) (588,587) [10,-1,1000,1000,-1] [29490,0,14745 -> 44235MB], SPARK
> --------(594) ua(+RC) (593) [0,0,-1,-1,-1] [14745,0,0 -> 14745MB], SPARK
> --------(595) b(-) (590,594) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(596) b(*) (595) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(597) TWrite qk (596) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(585) TRead B [-1,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> --------(598) b(+) (585,588) [10,-1,1000,1000,-1] [29490,0,14745 -> 44235MB], SPARK
> --------(599) TWrite B_new (598) [10,-1,1000,1000,-1] [14745,0,14745 -> 29490MB], SPARK
> ------GENERIC (lines 253-253) [recompile=true]
> --------(619) TRead B_new [10,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> --------(620) TWrite ssX_B_new (619) [10,-1,1000,1000,-1] [14745,0,14745 -> 29490MB], SPARK
> ------GENERIC (lines 256-256) [recompile=true]
> --------(622) TRead X [120748239,10,1000,1000,-1] [0,0,9212 -> 9212MB], SPARK
> --------(623) TRead ssX_B_new [10,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> --------(624) ba(+*) (622,623) [120748239,-1,1000,1000,-1] [23957,0,14745 -> 38702MB], SPARK
> --------(633) dg(rand) [120748239,1,1000,1000,0] [0,1,0 -> 1MB], CP
> --------(634) b(cbind) (624,633) [120748239,-1,1000,1000,-1] [14745,0,- -> 13824MB], SPARK
> --------(635) TWrite LT (634) [120748239,-1,1000,1000,-1] [-,0,14745 -> 13824MB], SPARK
> ------GENERIC (lines 261-273) [recompile=true]
> --------(657) TRead LT [120748239,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> --------(666) ua(maxR) (657) [120748239,1,1000,1000,-1] [14745,0,921 -> 15666MB], SPARK
> --------(678) b(-) (657,666) [120748239,-1,1000,1000,-1] [15666,0,14745 -> 30411MB], SPARK
> --------(679) u(exp) (678) [120748239,-1,1000,1000,-1] [14745,0,14745 -> 29490MB], SPARK
> --------(680) ua(+R) (679) [120748239,1,1000,1000,-1] [14745,921,921 -> 16587MB], SPARK
> --------(692) b(/) (679,680) [120748239,-1,1000,1000,-1] [15666,0,14745 -> 30411MB], SPARK
> --------(693) TWrite P_new (692) [120748239,-1,1000,1000,-1] [14745,0,14745 -> 29490MB], SPARK
> --------(661) TRead Y [120748239,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> --------(694) b(*) (661,678) [120748239,-1,1000,1000,-1] [29490,0,14745 -> 44235MB], SPARK
> --------(695) ua(+RC) (694) [0,0,-1,-1,-1] [14745,0,0 -> 14745MB], SPARK
> --------(697) b(*) (695) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(699) u(log) (680) [120748239,1,1000,1000,-1] [921,0,921 -> 1842MB], CP
> --------(700) ua(+RC) (699) [0,0,-1,-1,-1] [921,0,0 -> 921MB], CP
> --------(701) b(+) (697,700) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(659) TRead lambda [10,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> --------(663) TRead B_new [10,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> --------(704) b(^) (663) [10,-1,1000,1000,-1] [14745,0,14745 -> 29490MB], SPARK
> --------(705) b(*) (659,704) [10,-1,1000,1000,-1] [29490,0,14745 -> 44235MB], SPARK
> --------(706) ua(+RC) (705) [0,0,-1,-1,-1] [14745,0,0 -> 14745MB], SPARK
> --------(707) b(*) (706) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(708) b(+) (701,707) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(709) TWrite obj_new (708) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(665) TRead obj [-1,-1,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(710) b(-) (665,708) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(711) TWrite actred (710) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(662) TRead qk [-1,-1,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(712) b(/) (710,662) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(713) TWrite rho (712) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(715) b(>) (712) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(716) TWrite is_rho_accepted (715) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(660) TRead S [10,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> --------(718) b(^) (660) [10,-1,1000,1000,-1] [14745,0,14745 -> 29490MB], SPARK
> --------(719) ua(+RC) (718) [0,0,-1,-1,-1] [14745,0,0 -> 14745MB], SPARK
> --------(720) u(sqrt) (719) [0,0,-1,-1,-1] [0,0,0 -> 0MB]
> --------(721) TWrite snorm (720) [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> ------IF (lines 285-287)
> --------GENERIC (lines 286-286) [recompile=false]
> ----------(782) TRead delta [-1,-1,0,0,-1] [0,0,0 -> 0MB], CP
> ----------(783) TRead snorm [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> ----------(784) b(min) (782,783) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(785) TWrite delta (784) [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> ------GENERIC (lines 289-289) [recompile=false]
> --------(786) TRead obj_new [-1,-1,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(788) TRead obj [-1,-1,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(789) b(-) (786,788) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(787) TRead gs [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> --------(790) b(-) (789,787) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(791) TWrite alpha2 (790) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------IF (lines 290-295)
> --------GENERIC (lines 291-291) [recompile=false]
> ----------(795) TRead sigma3 [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(796) TWrite alpha (795) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------ELSE
> --------GENERIC (lines 294-294) [recompile=false]
> ----------(797) TRead sigma1 [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(798) TRead gs [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> ----------(801) b(*) (798) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(799) TRead alpha2 [-1,-1,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(802) b(/) (801,799) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(803) b(max) (797,802) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(804) TWrite alpha (803) [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> ------IF (lines 297-312)
> --------GENERIC (lines 298-298) [recompile=false]
> ----------(809) TRead alpha [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(811) TRead sigma1 [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(813) b(max) (809,811) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(812) TRead snorm [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> ----------(814) b(*) (813,812) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(808) TRead delta [-1,-1,0,0,-1] [0,0,0 -> 0MB], CP
> ----------(816) b(*) (808) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(817) b(min) (814,816) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(818) TWrite delta (817) [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> ------ELSE
> --------IF (lines 301-311)
> ----------GENERIC (lines 302-302) [recompile=false]
> ------------(822) TRead delta [-1,-1,0,0,-1] [0,0,0 -> 0MB], CP
> ------------(828) b(*) (822) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------------(823) TRead alpha [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------------(826) TRead snorm [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> ------------(829) b(*) (823,826) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------------(831) b(*) (822) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------------(832) b(min) (829,831) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------------(833) b(max) (828,832) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------------(834) TWrite delta (833) [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> --------ELSE
> ----------IF (lines 305-310)
> ------------GENERIC (lines 306-306) [recompile=false]
> --------------(838) TRead delta [-1,-1,0,0,-1] [0,0,0 -> 0MB], CP
> --------------(844) b(*) (838) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------------(839) TRead alpha [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------------(842) TRead snorm [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> --------------(845) b(*) (839,842) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------------(847) b(*) (838) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------------(848) b(min) (845,847) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------------(849) b(max) (844,848) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------------(850) TWrite delta (849) [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> ----------ELSE
> ------------GENERIC (lines 309-309) [recompile=false]
> --------------(851) TRead delta [-1,-1,0,0,-1] [0,0,0 -> 0MB], CP
> --------------(852) TRead alpha [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------------(854) TRead snorm [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> --------------(855) b(*) (852,854) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------------(857) b(*) (851) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------------(858) b(min) (855,857) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------------(859) b(max) (851,858) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------------(860) TWrite delta (859) [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> ------IF (lines 314-319)
> --------GENERIC (lines 316-316) [recompile=false]
> ----------(864) TRead iter [-1,-1,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(867) b(+) (864) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(869) b(+) (867) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(865) TRead inneriter [-1,-1,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(871) b(-) (865) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(872) b(+) (869,871) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(874) b(+) (872) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(875) u(print) (874) [-1,-1,-1,-1,-1] [0,0,0 -> 0MB]
> ------ELSE
> --------GENERIC (lines 318-318) [recompile=false]
> ----------(876) TRead iter [-1,-1,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(879) b(+) (876) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(881) b(+) (879) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(877) TRead inneriter [-1,-1,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(883) b(-) (877) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(884) b(+) (881,883) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(886) b(+) (884) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(887) u(print) (886) [-1,-1,-1,-1,-1] [0,0,0 -> 0MB]
> ------GENERIC (lines 320-321) [recompile=false]
> --------(889) TRead actred [-1,-1,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(893) b(+) (889) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(895) b(+) (893) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(890) TRead qk [-1,-1,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(896) b(+) (895,890) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(898) b(+) (896) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(891) TRead rho [-1,-1,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(900) b(*) (891) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(901) u(round) (900) [-1,-1,-1,-1,-1] [0,0,0 -> 0MB]
> --------(903) b(/) (901) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(904) b(+) (898,903) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(906) b(+) (904) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(888) TRead delta [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> --------(907) b(+) (906,888) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(908) u(print) (907) [-1,-1,-1,-1,-1] [0,0,0 -> 0MB]
> ------IF (lines 323-343)
> --------GENERIC (lines 325-327) [recompile=true]
> ----------(914) TRead B_new [10,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> ----------(915) TWrite B (914) [10,-1,1000,1000,-1] [14745,0,14745 -> 29490MB], SPARK
> ----------(913) TRead P_new [120748239,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> ----------(916) TWrite P (913) [120748239,-1,1000,1000,-1] [14745,0,14745 -> 29490MB], SPARK
> ----------(911) TRead X [120748239,10,1000,1000,-1] [0,0,9212 -> 9212MB], SPARK
> ----------(917) r(t) (911) [10,120748239,1000,1000,-1] [9212,0,9212 -> 18425MB], SPARK
> ----------(910) TRead K [-1,-1,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(921) rix (913,910) [120748239,-1,1000,1000,-1] [14745,0,- -> 13824MB], SPARK
> ----------(912) TRead Y [120748239,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> ----------(925) rix (912,910) [120748239,-1,1000,1000,-1] [14745,0,- -> 13824MB], SPARK
> ----------(926) b(-) (921,925) [120748239,-1,1000,1000,-1] [-,0,14745 -> 12903MB], SPARK
> ----------(927) ba(+*) (917,926) [10,-1,1000,1000,-1] [23957,0,14745 -> 38702MB], SPARK
> ----------(928) TWrite Grad (927) [10,-1,1000,1000,-1] [14745,0,14745 -> 29490MB], SPARK
> --------GENERIC (lines 331-334) [recompile=true]
> ----------(946) TRead Grad [10,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> ----------(947) TRead lambda [10,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> ----------(944) TRead B [10,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> ----------(949) b(*) (947,944) [10,-1,1000,1000,-1] [29490,0,14745 -> 44235MB], SPARK
> ----------(950) b(+) (946,949) [10,-1,1000,1000,-1] [29490,0,14745 -> 44235MB], SPARK
> ----------(951) TWrite Grad (950) [10,-1,1000,1000,-1] [14745,0,14745 -> 29490MB], SPARK
> ----------(953) b(^) (950) [10,-1,1000,1000,-1] [14745,0,14745 -> 29490MB], SPARK
> ----------(954) ua(+RC) (953) [0,0,-1,-1,-1] [14745,0,0 -> 14745MB], SPARK
> ----------(955) u(sqrt) (954) [0,0,-1,-1,-1] [0,0,0 -> 0MB]
> ----------(956) TWrite norm_Grad (955) [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> ----------(945) TRead obj_new [-1,-1,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(957) TWrite obj (945) [-1,-1,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(959) b(+) (945) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(961) b(+) (959) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(948) TRead snorm [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> ----------(962) b(+) (961,948) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(964) b(+) (962) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(965) b(+) (964,955) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ----------(966) u(print) (965) [-1,-1,-1,-1,-1] [0,0,0 -> 0MB]
> ------GENERIC (lines 349-351) [recompile=false]
> --------(1015) TRead iter [-1,-1,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(1019) b(+) (1015) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(1020) TWrite iter (1019) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(1017) TRead norm_Grad [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> --------(1012) TRead tol [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> --------(1010) TRead norm_Grad_initial [0,0,0,0,-1] [0,0,0 -> 0MB], CP
> --------(1021) b(*) (1012,1010) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(1022) b(<) (1017,1021) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(1024) b(>) (1019) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(1025) b(|) (1022,1024) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(1011) TRead is_trust_boundary_reached [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(1027) b(=) (1011) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(1013) TRead actred [-1,-1,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(1028) u(abs) (1013) [-1,-1,-1,-1,-1] [0,0,0 -> 0MB]
> --------(1016) TRead obj [-1,-1,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(1029) u(abs) (1016) [-1,-1,-1,-1,-1] [0,0,0 -> 0MB]
> --------(1009) TRead obj_new [-1,-1,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(1030) u(abs) (1009) [-1,-1,-1,-1,-1] [0,0,0 -> 0MB]
> --------(1031) b(+) (1029,1030) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(1033) b(*) (1031) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(1034) b(<) (1028,1033) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(1035) b(&) (1027,1034) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(1036) b(|) (1025,1035) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> --------(1037) TWrite converge (1036) [0,0,-1,-1,-1] [0,0,0 -> 0MB], CP
> ------IF (lines 352-352)
> --------GENERIC (lines 352-352) [recompile=false]
> ----------(1040) u(print) [-1,-1,-1,-1,-1] [0,0,0 -> 0MB]
> ------ELSE
> --------GENERIC (lines 352-352) [recompile=false]
> ----------(1042) u(print) [-1,-1,-1,-1,-1] [0,0,0 -> 0MB]
> ----GENERIC (lines 359-359) [recompile=true]
> ------(1062) TRead B [-1,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> ------(1063) TWrite B_out (1062) [-1,-1,1000,1000,-1] [14745,0,14745 -> 29490MB], SPARK
> ----GENERIC (lines 361-361) [recompile=true]
> ------(1066) TRead B_out [-1,-1,1000,1000,-1] [0,0,14745 -> 14745MB], SPARK
> ------(1069) PWrite B_out (1066) [-1,-1,-1,-1,-1] [14745,0,14745 -> 29490MB], SPARK
> {code}
> Runtime explain:
> {code}
> PROGRAM ( size CP/SP = 689/86 )
> --MAIN PROGRAM
> ----GENERIC (lines 69-98) [recompile=true]
> ------CP createvar pREADX /user/data-scientist/airline_filtered_x.csv false MATRIX csv 120748239 9 -1 -1 -1 copy false , true 0.0
> ------CP createvar pREADY_vec /user/data-scientist/airline_filtered_y.csv false MATRIX csv 120748239 1 -1 -1 -1 copy false , true 0.0
> ------CP print BEGIN MULTINOMIAL LOGISTIC REGRESSION SCRIPT.SCALAR.STRING.true _Var24.SCALAR.STRING
> ------CP print Reading X....SCALAR.STRING.true _Var25.SCALAR.STRING
> ------CP print Reading Y....SCALAR.STRING.true _Var26.SCALAR.STRING
> ------CP createvar _mVar27 scratch_space//_p31545_9.30.110.155//_t0/temp1 true MATRIX binaryblock 120748239 9 1000 1000 -1 copy
> ------SPARK csvrblk pREADX.MATRIX.DOUBLE _mVar27.MATRIX.DOUBLE 1000 1000 false , true 0.0
> ------CP createvar _mVar28 scratch_space//_p31545_9.30.110.155//_t0/temp2 true MATRIX binaryblock 120748239 1 1000 1000 -1 copy
> ------SPARK csvrblk pREADY_vec.MATRIX.DOUBLE _mVar28.MATRIX.DOUBLE 1000 1000 false , true 0.0
> ------CP assignvar /user/data-scientist/airline_filtered_out.csv.SCALAR.STRING.true fileB.SCALAR.STRING
> ------CP assignvar  .SCALAR.STRING.true fileLog.SCALAR.STRING
> ------CP assignvar text.SCALAR.STRING.true fmtB.SCALAR.STRING
> ------CP assignvar 1.SCALAR.INT.true intercept_status.SCALAR.INT
> ------CP assignvar 0.0.SCALAR.DOUBLE.true regularization.SCALAR.DOUBLE
> ------CP assignvar 100.SCALAR.INT.true maxiter.SCALAR.INT
> ------CP assignvar 0.SCALAR.INT.true maxinneriter.SCALAR.INT
> ------CP assignvar 1.0E-6.SCALAR.DOUBLE.true tol.SCALAR.DOUBLE
> ------CP assignvar 1.0E-4.SCALAR.DOUBLE.true eta0.SCALAR.DOUBLE
> ------CP assignvar 0.25.SCALAR.DOUBLE.true eta1.SCALAR.DOUBLE
> ------CP assignvar 0.75.SCALAR.DOUBLE.true eta2.SCALAR.DOUBLE
> ------CP assignvar 0.25.SCALAR.DOUBLE.true sigma1.SCALAR.DOUBLE
> ------CP assignvar 0.5.SCALAR.DOUBLE.true sigma2.SCALAR.DOUBLE
> ------CP assignvar 4.0.SCALAR.DOUBLE.true sigma3.SCALAR.DOUBLE
> ------CP assignvar 0.1.SCALAR.DOUBLE.true psi.SCALAR.DOUBLE
> ------CP assignvar 120748239.SCALAR.INT.true N.SCALAR.INT
> ------CP assignvar 9.SCALAR.INT.true D.SCALAR.INT
> ------CP rmvar _Var24
> ------CP rmvar _Var25
> ------CP rmvar _Var26
> ------CP cpvar _mVar27 X
> ------CP cpvar _mVar28 Y_vec
> ------CP rmvar _mVar27
> ------CP rmvar _mVar28
> ----GENERIC (lines 103-104) [recompile=true]
> ------CP createvar _mVar29 scratch_space//_p31545_9.30.110.155//_t0/temp3 true MATRIX binaryblock 120748239 1 1000 1000 120748239 copy
> ------CP rand 120748239 1 1000 1000 1.0 1.0 1.0 -1 uniform 1.0 48 _mVar29.MATRIX.DOUBLE
> ------CP createvar _mVar30 scratch_space//_p31545_9.30.110.155//_t0/temp4 true MATRIX binaryblock 120748239 10 1000 1000 -1 copy
> ------SPARK mappend X.MATRIX.DOUBLE _mVar29.MATRIX.DOUBLE 9.SCALAR.INT.true _mVar30.MATRIX.DOUBLE true
> ------CP rmvar _mVar29
> ------CP createvar _mVar31 scratch_space//_p31545_9.30.110.155//_t0/temp5 true MATRIX binaryblock 120748239 10 1000 1000 -1 copy
> ------SPARK chkpoint _mVar30.MATRIX.DOUBLE _mVar31.MATRIX.DOUBLE MEMORY_AND_DISK
> ------CP rmvar _mVar30
> ------CP rmvar X
> ------CP assignvar 10.SCALAR.INT.true D.SCALAR.INT
> ------CP cpvar _mVar31 X
> ------CP rmvar _mVar31
> ----GENERIC (lines 107-107) [recompile=false]
> ------CP createvar _mVar32 scratch_space//_p31545_9.30.110.155//_t0/temp6 true MATRIX binaryblock 10 1 1000 1000 -1 copy
> ------CP rand 10 1 1000 1000 1.0 1.0 1.0 -1 uniform 1.0 48 _mVar32.MATRIX.DOUBLE
> ------CP cpvar _mVar32 scale_lambda
> ------CP rmvar _mVar32
> ----GENERIC (lines 110-110) [recompile=false]
> ------CP createvar _mVar33 scratch_space//_p31545_9.30.110.155//_t0/temp7 true MATRIX binaryblock 10 1 1000 1000 -1 copy
> ------CP leftIndex scale_lambda.MATRIX.DOUBLE 0.SCALAR.INT.true D.SCALAR.INT.false D.SCALAR.INT.false 1.SCALAR.INT.true 1.SCALAR.INT.true _mVar33.MATRIX.DOUBLE
> ------CP rmvar scale_lambda
> ------CP cpvar _mVar33 scale_lambda
> ------CP rmvar _mVar33
> ----GENERIC (lines 124-126) [recompile=true]
> ------CP createvar _mVar34 scratch_space//_p31545_9.30.110.155//_t0/temp8 true MATRIX binaryblock 10 1 1000 1000 -1 copy
> ------CP rand 10 1 1000 1000 1.0 1.0 1.0 -1 uniform 1.0 48 _mVar34.MATRIX.DOUBLE
> ------CP createvar _mVar35 scratch_space//_p31545_9.30.110.155//_t0/temp9 true MATRIX binaryblock 10 1 1000 1000 0 copy
> ------CP rand 10 1 1000 1000 0.0 0.0 1.0 -1 uniform 1.0 48 _mVar35.MATRIX.DOUBLE
> ------CP createvar _mVar36 scratch_space//_p31545_9.30.110.155//_t0/temp10 true MATRIX binaryblock -1 1 1000 1000 -1 copy
> ------SPARK uarsqk+ X.MATRIX.DOUBLE _mVar36.MATRIX.DOUBLE NONE
> ------CP cpvar _mVar34 scale_X
> ------CP cpvar _mVar35 shift_X
> ------CP cpvar _mVar36 rowSums_X_sq
> ------CP rmvar _mVar34
> ------CP rmvar _mVar35
> ------CP rmvar _mVar36
> ----GENERIC (lines 142-142) [recompile=false]
> ------CP uamax Y_vec.MATRIX.DOUBLE _Var37.SCALAR.DOUBLE 48
> ------CP assignvar _Var37.SCALAR.DOUBLE.false max_y.SCALAR.DOUBLE
> ------CP rmvar _Var37
> ----IF (lines 143-147)
> ------CP uamin Y_vec.MATRIX.DOUBLE _Var38.SCALAR.DOUBLE 48
> ------CP <= _Var38.SCALAR.DOUBLE.false 0.SCALAR.INT.true _Var39.SCALAR.BOOLEAN
> ------CP rmvar _Var38
> ------CP rmvar _Var39
> ------GENERIC (lines 145-146) [recompile=false]
> --------CP createvar _mVar40 scratch_space//_p31545_9.30.110.155//_t0/temp11 true MATRIX binaryblock 120748239 1 1000 1000 -1 copy
> --------CP - 0.SCALAR.INT.true Y_vec.MATRIX.DOUBLE _mVar40.MATRIX.DOUBLE
> --------CP createvar _mVar41 scratch_space//_p31545_9.30.110.155//_t0/temp12 true MATRIX binaryblock 120748239 1 1000 1000 -1 copy
> --------CP <= Y_vec.MATRIX.DOUBLE 0.SCALAR.INT.true _mVar41.MATRIX.DOUBLE
> --------CP + max_y.SCALAR.DOUBLE.false 1.SCALAR.INT.true _Var42.SCALAR.DOUBLE
> --------CP createvar _mVar43 scratch_space//_p31545_9.30.110.155//_t0/temp13 true MATRIX binaryblock 120748239 1 1000 1000 -1 copy
> --------CP + _mVar40.MATRIX.DOUBLE max_y.SCALAR.DOUBLE.false _mVar43.MATRIX.DOUBLE
> --------CP rmvar _mVar40
> --------CP createvar _mVar44 scratch_space//_p31545_9.30.110.155//_t0/temp14 true MATRIX binaryblock 120748239 1 1000 1000 -1 copy
> --------CP + _mVar43.MATRIX.DOUBLE 1.SCALAR.INT.true _mVar44.MATRIX.DOUBLE
> --------CP rmvar _mVar43
> --------CP createvar _mVar45 scratch_space//_p31545_9.30.110.155//_t0/temp15 true MATRIX binaryblock 120748239 1 1000 1000 -1 copy
> --------CP * _mVar44.MATRIX.DOUBLE _mVar41.MATRIX.DOUBLE _mVar45.MATRIX.DOUBLE
> --------CP rmvar _mVar44
> --------CP rmvar _mVar41
> --------CP createvar _mVar46 scratch_space//_p31545_9.30.110.155//_t0/temp16 true MATRIX binaryblock 120748239 1 1000 1000 -1 copy
> --------CP + Y_vec.MATRIX.DOUBLE _mVar45.MATRIX.DOUBLE _mVar46.MATRIX.DOUBLE
> --------CP rmvar _mVar45
> --------CP rmvar Y_vec
> --------CP assignvar _Var42.SCALAR.DOUBLE.false max_y.SCALAR.DOUBLE
> --------CP rmvar _Var42
> --------CP cpvar _mVar46 Y_vec
> --------CP rmvar _mVar46
> ----GENERIC (lines 148-161) [recompile=true]
> ------CP createvar _mVar47 scratch_space//_p31545_9.30.110.155//_t0/temp17 true MATRIX binaryblock 120748239 1 1000 1000 -1 copy
> ------CP seq 120748239 1 1000 1000 1 120748239 1 _mVar47.MATRIX.DOUBLE
> ------CP sqrt D.SCALAR.INT.false _Var48.SCALAR.DOUBLE
> ------CP createvar _mVar49 scratch_space//_p31545_9.30.110.155//_t0/temp18 true MATRIX binaryblock 120748239 1 1000 1000 -1 copy
> ------CP sqrt rowSums_X_sq.MATRIX.DOUBLE _mVar49.MATRIX.DOUBLE
> ------CP createvar _mVar50 scratch_space//_p31545_9.30.110.155//_t0/temp19 true MATRIX binaryblock 10 120748239 1000 1000 -1 copy
> ------SPARK r' X.MATRIX.DOUBLE _mVar50.MATRIX.DOUBLE
> ------CP createvar _mVar51 scratch_space//_p31545_9.30.110.155//_t0/temp20 true MATRIX binarycell 120748239 -1 -1 -1 -1 copy
> ------SPARK ctable _mVar47.MATRIX.DOUBLE Y_vec.MATRIX.DOUBLE 1.0.SCALAR.DOUBLE.true 120748239.true max_y.false _mVar51.MATRIX.DOUBLE false
> ------CP rmvar _mVar47
> ------CP * 0.5.SCALAR.DOUBLE.true _Var48.SCALAR.DOUBLE.false _Var52.SCALAR.DOUBLE
> ------CP rmvar _Var48
> ------CP uamax _mVar49.MATRIX.DOUBLE _Var53.SCALAR.DOUBLE 48
> ------CP rmvar _mVar49
> ------CP createvar _mVar54 scratch_space//_p31545_9.30.110.155//_t0/temp21 true MATRIX binaryblock 120748239 -1 1000 1000 -1 copy
> ------SPARK rblk _mVar51.MATRIX.DOUBLE _mVar54.MATRIX.DOUBLE 1000 1000 true
> ------CP rmvar _mVar51
> ------CP / _Var52.SCALAR.DOUBLE.false _Var53.SCALAR.DOUBLE.false _Var55.SCALAR.DOUBLE
> ------CP rmvar _Var52
> ------CP rmvar _Var53
> ------CP ncol _mVar54.MATRIX.DOUBLE.false _Var56.SCALAR.INT
> ------CP - _Var56.SCALAR.INT.false 1.SCALAR.INT.true _Var57.SCALAR.INT
> ------CP rmvar _Var56
> ------CP createvar _mVar58 scratch_space//_p31545_9.30.110.155//_t0/temp22 true MATRIX binaryblock 1 -1 1000 1000 -1 copy
> ------SPARK rand 1 ¶_Var57¶ 1000 1000 1.0 1.0 1.0 -1 scratch_space/_p31545_9.30.110.155//_t0/ uniform 1.0 _mVar58.MATRIX.DOUBLE
> ------CP createvar _mVar59 scratch_space//_p31545_9.30.110.155//_t0/temp23 true MATRIX binaryblock -1 -1 1000 1000 0 copy
> ------SPARK rand ¶D¶ ¶_Var57¶ 1000 1000 0.0 0.0 1.0 -1 scratch_space/_p31545_9.30.110.155//_t0/ uniform 1.0 _mVar59.MATRIX.DOUBLE
> ------CP + _Var57.SCALAR.INT.false 1.SCALAR.INT.true _Var60.SCALAR.INT
> ------CP createvar _mVar61 scratch_space//_p31545_9.30.110.155//_t0/temp24 true MATRIX binaryblock 120748239 -1 1000 1000 -1 copy
> ------SPARK rangeReIndex _mVar54.MATRIX.DOUBLE 1.SCALAR.INT.true 120748239.SCALAR.INT.true 1.SCALAR.INT.true _Var57.SCALAR.INT.false _mVar61.MATRIX.DOUBLE MULTI_BLOCK
> ------CP createvar _mVar62 scratch_space//_p31545_9.30.110.155//_t0/temp25 true MATRIX binaryblock 10 -1 1000 1000 -1 copy
> ------SPARK mapmm scale_lambda.MATRIX.DOUBLE _mVar58.MATRIX.DOUBLE _mVar62.MATRIX.DOUBLE RIGHT true NONE
> ------CP rmvar _mVar58
> ------CP createvar _mVar63 scratch_space//_p31545_9.30.110.155//_t0/temp26 true MATRIX binaryblock 120748239 -1 1000 1000 -1 copy
> ------SPARK rand 120748239 ¶_Var60¶ 1000 1000 1.0 1.0 1.0 -1 scratch_space/_p31545_9.30.110.155//_t0/ uniform 1.0 _mVar63.MATRIX.DOUBLE
> ------CP log _Var60.SCALAR.INT.false _Var64.SCALAR.DOUBLE
> ------CP createvar _mVar65 scratch_space//_p31545_9.30.110.155//_t0/temp27 true MATRIX binaryblock 10 -1 1000 1000 -1 copy
> ------SPARK * _mVar62.MATRIX.DOUBLE 0.0.SCALAR.DOUBLE.true _mVar65.MATRIX.DOUBLE
> ------CP rmvar _mVar62
> ------CP createvar _mVar66 scratch_space//_p31545_9.30.110.155//_t0/temp28 true MATRIX binaryblock 120748239 -1 1000 1000 -1 copy
> ------SPARK / _mVar63.MATRIX.DOUBLE _Var60.SCALAR.INT.false _mVar66.MATRIX.DOUBLE
> ------CP rmvar _mVar63
> ------CP rmvar _Var60
> ------CP * 120748239.SCALAR.INT.true _Var64.SCALAR.DOUBLE.false _Var67.SCALAR.DOUBLE
> ------CP rmvar _Var64
> ------CP createvar _mVar68 scratch_space//_p31545_9.30.110.155//_t0/temp29 true MATRIX binaryblock 120748239 -1 1000 1000 -1 copy
> ------SPARK rangeReIndex _mVar66.MATRIX.DOUBLE 1.SCALAR.INT.true 120748239.SCALAR.INT.true 1.SCALAR.INT.true _Var57.SCALAR.INT.false _mVar68.MATRIX.DOUBLE MULTI_BLOCK
> ------CP createvar _mVar69 scratch_space//_p31545_9.30.110.155//_t0/temp30 true MATRIX binaryblock 120748239 -1 1000 1000 -1 copy
> ------SPARK - _mVar68.MATRIX.DOUBLE _mVar61.MATRIX.DOUBLE _mVar69.MATRIX.DOUBLE
> ------CP rmvar _mVar68
> ------CP rmvar _mVar61
> ------CP createvar _mVar70 scratch_space//_p31545_9.30.110.155//_t0/temp31 true MATRIX binaryblock 10 -1 1000 1000 -1 copy
> ------SPARK cpmm _mVar50.MATRIX.DOUBLE _mVar69.MATRIX.DOUBLE _mVar70.MATRIX.DOUBLE MULTI_BLOCK
> ------CP rmvar _mVar50
> ------CP rmvar _mVar69
> ------CP assignvar _Var55.SCALAR.DOUBLE.false delta.SCALAR.DOUBLE
> ------CP assignvar _Var57.SCALAR.INT.false K.SCALAR.INT
> ------CP assignvar _Var67.SCALAR.DOUBLE.false obj.SCALAR.DOUBLE
> ------CP rmvar _Var55
> ------CP cpvar _mVar54 Y
> ------CP rmvar _Var57
> ------CP cpvar _mVar59 B
> ------CP rmvar _Var67
> ------CP cpvar _mVar65 lambda
> ------CP cpvar _mVar66 P
> ------CP cpvar _mVar70 Grad
> ------CP rmvar _mVar54
> ------CP rmvar _mVar59
> ------CP rmvar _mVar65
> ------CP rmvar _mVar66
> ------CP rmvar _mVar70
> ------CP rmvar regularization
> ------CP rmvar scale_lambda
> ------CP rmvar rowSums_X_sq
> ------CP rmvar max_y
> ------CP rmvar Y_vec
> ----GENERIC (lines 165-167) [recompile=true]
> ------CP createvar _mVar71 scratch_space//_p31545_9.30.110.155//_t0/temp32 true MATRIX binaryblock 10 -1 1000 1000 -1 copy
> ------SPARK ^2 Grad.MATRIX.DOUBLE 2.SCALAR.INT.true _mVar71.MATRIX.DOUBLE
> ------CP createvar _mVar72 scratch_space//_p31545_9.30.110.155//_t0/temp33 true MATRIX binaryblock 1 1 1000 1000 -1 copy
> ------SPARK uak+ _mVar71.MATRIX.DOUBLE _mVar72.MATRIX.DOUBLE SINGLE_BLOCK
> ------CP rmvar _mVar71
> ------CP castdts _mVar72.MATRIX.DOUBLE.false _Var73.SCALAR.DOUBLE
> ------CP rmvar _mVar72
> ------CP sqrt _Var73.SCALAR.DOUBLE.false _Var74.SCALAR.DOUBLE
> ------CP rmvar _Var73
> ------CP assignvar _Var74.SCALAR.DOUBLE.false norm_Grad.SCALAR.DOUBLE
> ------CP assignvar _Var74.SCALAR.DOUBLE.false norm_Grad_initial.SCALAR.DOUBLE
> ------CP rmvar _Var74
> ----GENERIC (lines 170-170) [recompile=false]
> ------CP * D.SCALAR.INT.false K.SCALAR.INT.false _Var75.SCALAR.INT
> ------CP assignvar _Var75.SCALAR.INT.false maxinneriter.SCALAR.INT
> ------CP rmvar _Var75
> ----GENERIC (lines 172-177) [recompile=false]
> ------CP < norm_Grad.SCALAR.DOUBLE.false tol.SCALAR.DOUBLE.false _Var76.SCALAR.BOOLEAN
> ------CP + -- Initially:  Objective = .SCALAR.STRING.true obj.SCALAR.DOUBLE.false _Var77.SCALAR.STRING
> ------CP || _Var76.SCALAR.BOOLEAN.false false.SCALAR.BOOLEAN.true _Var78.SCALAR.BOOLEAN
> ------CP rmvar _Var76
> ------CP + _Var77.SCALAR.STRING.false ,  Gradient Norm = .SCALAR.STRING.true _Var79.SCALAR.STRING
> ------CP rmvar _Var77
> ------CP + _Var79.SCALAR.STRING.false norm_Grad.SCALAR.DOUBLE.false _Var80.SCALAR.STRING
> ------CP rmvar _Var79
> ------CP + _Var80.SCALAR.STRING.false ,  Trust Delta = .SCALAR.STRING.true _Var81.SCALAR.STRING
> ------CP rmvar _Var80
> ------CP + _Var81.SCALAR.STRING.false delta.SCALAR.DOUBLE.false _Var82.SCALAR.STRING
> ------CP rmvar _Var81
> ------CP print _Var82.SCALAR.STRING.false _Var83.SCALAR.STRING
> ------CP rmvar _Var82
> ------CP assignvar 1.SCALAR.INT.true iter.SCALAR.INT
> ------CP assignvar _Var78.SCALAR.BOOLEAN.false converge.SCALAR.BOOLEAN
> ------CP rmvar _Var78
> ------CP rmvar _Var83
> ----GENERIC (lines 184-184) [recompile=false]
> ------CP assignvar  .SCALAR.STRING.true log_str.SCALAR.STRING
> ----GENERIC (lines 187-353) [recompile=true]
> ------CP createvar _mVar84 scratch_space//_p31545_9.30.110.155//_t0/temp34 true MATRIX binaryblock 10 -1 1000 1000 -1 copy
> ------SPARK chkpoint lambda.MATRIX.DOUBLE _mVar84.MATRIX.DOUBLE MEMORY_AND_DISK
> ------CP createvar _mVar85 scratch_space//_p31545_9.30.110.155//_t0/temp35 true MATRIX binaryblock 120748239 10 1000 1000 -1 copy
> ------SPARK chkpoint X.MATRIX.DOUBLE _mVar85.MATRIX.DOUBLE MEMORY_AND_DISK
> ------CP createvar _mVar86 scratch_space//_p31545_9.30.110.155//_t0/temp36 true MATRIX binaryblock 120748239 -1 1000 1000 -1 copy
> ------SPARK chkpoint Y.MATRIX.DOUBLE _mVar86.MATRIX.DOUBLE MEMORY_AND_DISK
> ------CP rmvar lambda
> ------CP rmvar X
> ------CP rmvar Y
> ------CP cpvar _mVar84 lambda
> ------CP cpvar _mVar85 X
> ------CP cpvar _mVar86 Y
> ------CP rmvar _mVar84
> ------CP rmvar _mVar85
> ------CP rmvar _mVar86
> ----WHILE (lines 187-353) [in-place=[B]]
> ------CP ! converge.SCALAR.BOOLEAN.false _Var87.SCALAR.BOOLEAN
> ------CP rmvar _Var87
> ------GENERIC (lines 190-197) [recompile=true]
> --------CP createvar _mVar88 scratch_space//_p31545_9.30.110.155//_t0/temp37 true MATRIX binaryblock -1 -1 1000 1000 0 copy
> --------SPARK rand ¶D¶ ¶K¶ 1000 1000 0.0 0.0 1.0 -1 scratch_space/_p31545_9.30.110.155//_t0/ uniform 1.0 _mVar88.MATRIX.DOUBLE
> --------CP createvar _mVar89 scratch_space//_p31545_9.30.110.155//_t0/temp38 true MATRIX binaryblock 10 -1 1000 1000 -1 copy
> --------SPARK - 0.SCALAR.INT.true Grad.MATRIX.DOUBLE _mVar89.MATRIX.DOUBLE
> --------CP ^ delta.SCALAR.DOUBLE.false 2.SCALAR.INT.true _Var90.SCALAR.DOUBLE
> --------CP * 0.1.SCALAR.DOUBLE.true norm_Grad.SCALAR.DOUBLE.false _Var91.SCALAR.DOUBLE
> --------CP createvar _mVar92 scratch_space//_p31545_9.30.110.155//_t0/temp39 true MATRIX binaryblock 10 -1 1000 1000 -1 copy
> --------SPARK ^2 _mVar89.MATRIX.DOUBLE 2.SCALAR.INT.true _mVar92.MATRIX.DOUBLE
> --------CP createvar _mVar93 scratch_space//_p31545_9.30.110.155//_t0/temp40 true MATRIX binaryblock 1 1 1000 1000 -1 copy
> --------SPARK uak+ _mVar92.MATRIX.DOUBLE _mVar93.MATRIX.DOUBLE SINGLE_BLOCK
> --------CP rmvar _mVar92
> --------CP castdts _mVar93.MATRIX.DOUBLE.false _Var94.SCALAR.DOUBLE
> --------CP rmvar _mVar93
> --------CP sqrt _Var94.SCALAR.DOUBLE.false _Var95.SCALAR.DOUBLE
> --------CP <= _Var95.SCALAR.DOUBLE.false _Var91.SCALAR.DOUBLE.false _Var96.SCALAR.BOOLEAN
> --------CP rmvar _Var95
> --------CP rmvar _Var91
> --------CP assignvar 1.SCALAR.INT.true inneriter.SCALAR.INT
> --------CP assignvar 0.SCALAR.INT.true is_trust_boundary_reached.SCALAR.INT
> --------CP assignvar _Var90.SCALAR.DOUBLE.false delta2.SCALAR.DOUBLE
> --------CP assignvar _Var94.SCALAR.DOUBLE.false norm_R2.SCALAR.DOUBLE
> --------CP assignvar _Var96.SCALAR.BOOLEAN.false innerconverge.SCALAR.BOOLEAN
> --------CP rmvar _Var90
> --------CP cpvar _mVar88 S
> --------CP cpvar _mVar89 R
> --------CP cpvar _mVar89 V
> --------CP rmvar _Var94
> --------CP rmvar _Var96
> --------CP rmvar _mVar88
> --------CP rmvar _mVar89
> ------GENERIC (lines 199-241) [recompile=true]
> --------CP createvar _mVar97 scratch_space//_p31545_9.30.110.155//_t0/temp41 true MATRIX binaryblock 120748239 -1 1000 1000 -1 copy
> --------SPARK chkpoint P.MATRIX.DOUBLE _mVar97.MATRIX.DOUBLE MEMORY_AND_DISK
> --------CP createvar _mVar98 scratch_space//_p31545_9.30.110.155//_t0/temp42 true MATRIX binaryblock 10 -1 1000 1000 -1 copy
> --------SPARK chkpoint lambda.MATRIX.DOUBLE _mVar98.MATRIX.DOUBLE MEMORY_AND_DISK
> --------CP createvar _mVar99 scratch_space//_p31545_9.30.110.155//_t0/temp43 true MATRIX binaryblock 120748239 10 1000 1000 -1 copy
> --------SPARK chkpoint X.MATRIX.DOUBLE _mVar99.MATRIX.DOUBLE MEMORY_AND_DISK
> --------CP rmvar P
> --------CP rmvar lambda
> --------CP rmvar X
> --------CP cpvar _mVar97 P
> --------CP cpvar _mVar98 lambda
> --------CP cpvar _mVar99 X
> --------CP rmvar _mVar97
> --------CP rmvar _mVar98
> --------CP rmvar _mVar99
> ------WHILE (lines 199-241)
> --------CP ! innerconverge.SCALAR.BOOLEAN.false _Var100.SCALAR.BOOLEAN
> --------CP rmvar _Var100
> --------GENERIC (lines 205-205) [recompile=true]
> ----------CP cpvar V ssX_V
> --------GENERIC (lines 207-208) [recompile=true]
> ----------CP createvar _mVar101 scratch_space//_p31545_9.30.110.155//_t0/temp44 true MATRIX binaryblock 10 120748239 1000 1000 -1 copy
> ----------SPARK r' X.MATRIX.DOUBLE _mVar101.MATRIX.DOUBLE
> ----------CP createvar _mVar102 scratch_space//_p31545_9.30.110.155//_t0/temp45 true MATRIX binaryblock 120748239 -1 1000 1000 -1 copy
> ----------SPARK rangeReIndex P.MATRIX.DOUBLE 1.SCALAR.INT.true 120748239.SCALAR.INT.true 1.SCALAR.INT.true K.SCALAR.INT.false _mVar102.MATRIX.DOUBLE MULTI_BLOCK
> ----------CP createvar _mVar103 scratch_space//_p31545_9.30.110.155//_t0/temp46 true MATRIX binaryblock 120748239 -1 1000 1000 -1 copy
> ----------SPARK cpmm X.MATRIX.DOUBLE ssX_V.MATRIX.DOUBLE _mVar103.MATRIX.DOUBLE MULTI_BLOCK
> ----------CP createvar _mVar104 scratch_space//_p31545_9.30.110.155//_t0/temp47 true MATRIX binaryblock 120748239 -1 1000 1000 -1 copy
> ----------SPARK * _mVar102.MATRIX.DOUBLE _mVar103.MATRIX.DOUBLE _mVar104.MATRIX.DOUBLE
> ----------CP rmvar _mVar103
> ----------CP createvar _mVar105 scratch_space//_p31545_9.30.110.155//_t0/temp48 true MATRIX binaryblock 120748239 1 1000 1000 -1 copy
> ----------SPARK uark+ _mVar104.MATRIX.DOUBLE _mVar105.MATRIX.DOUBLE MULTI_BLOCK
> ----------CP createvar _mVar106 scratch_space//_p31545_9.30.110.155//_t0/temp49 true MATRIX binaryblock 120748239 -1 1000 1000 -1 copy
> ----------SPARK * _mVar102.MATRIX.DOUBLE _mVar105.MATRIX.DOUBLE _mVar106.MATRIX.DOUBLE
> ----------CP rmvar _mVar102
> ----------CP rmvar _mVar105
> ----------CP createvar _mVar107 scratch_space//_p31545_9.30.110.155//_t0/temp50 true MATRIX binaryblock 120748239 -1 1000 1000 -1 copy
> ----------SPARK - _mVar104.MATRIX.DOUBLE _mVar106.MATRIX.DOUBLE _mVar107.MATRIX.DOUBLE
> ----------CP rmvar _mVar104
> ----------CP rmvar _mVar106
> ----------CP createvar _mVar108 scratch_space//_p31545_9.30.110.155//_t0/temp51 true MATRIX binaryblock 10 -1 1000 1000 -1 copy
> ----------SPARK cpmm _mVar101.MATRIX.DOUBLE _mVar107.MATRIX.DOUBLE _mVar108.MATRIX.DOUBLE MULTI_BLOCK
> ----------CP rmvar _mVar101
> ----------CP rmvar _mVar107
> ----------CP cpvar _mVar108 HV
> ----------CP rmvar _mVar108
> ----------CP rmvar ssX_V
> --------GENERIC (lines 212-215) [recompile=true]
> ----------CP createvar _mVar109 scratch_space//_p31545_9.30.110.155//_t0/temp52 true MATRIX binaryblock 10 -1 1000 1000 -1 copy
> ----------SPARK * lambda.MATRIX.DOUBLE V.MATRIX.DOUBLE _mVar109.MATRIX.DOUBLE
> ----------CP createvar _mVar110 scratch_space//_p31545_9.30.110.155//_t0/temp53 true MATRIX binaryblock 10 -1 1000 1000 -1 copy
> ----------SPARK + HV.MATRIX.DOUBLE _mVar109.MATRIX.DOUBLE _mVar110.MATRIX.DOUBLE
> ----------CP rmvar _mVar109
> ----------CP createvar _mVar111 scratch_space//_p31545_9.30.110.155//_t0/temp54 true MATRIX binaryblock 10 -1 1000 1000 -1 copy
> ----------SPARK * V.MATRIX.DOUBLE _mVar110.MATRIX.DOUBLE _mVar111.MATRIX.DOUBLE
> ----------CP createvar _mVar112 scratch_space//_p31545_9.30.110.155//_t0/temp55 true MATRIX binaryblock 1 1 1000 1000 -1 copy
> ----------SPARK uak+ _mVar111.MATRIX.DOUBLE _mVar112.MATRIX.DOUBLE SINGLE_BLOCK
> ----------CP rmvar _mVar111
> ----------CP castdts _mVar112.MATRIX.DOUBLE.false _Var113.SCALAR.DOUBLE
> ----------CP rmvar _mVar112
> ----------CP / norm_R2.SCALAR.DOUBLE.false _Var113.SCALAR.DOUBLE.false _Var114.SCALAR.DOUBLE
> ----------CP rmvar _Var113
> ----------CP createvar _mVar115 scratch_space//_p31545_9.30.110.155//_t0/temp56 true MATRIX binaryblock -1 -1 1000 1000 -1 copy
> ----------SPARK +* S.MATRIX.DOUBLE _Var114.SCALAR.DOUBLE.false V.MATRIX.DOUBLE _mVar115.MATRIX.DOUBLE
> ----------CP createvar _mVar116 scratch_space//_p31545_9.30.110.155//_t0/temp57 true MATRIX binaryblock 10 -1 1000 1000 -1 copy
> ----------SPARK ^2 _mVar115.MATRIX.DOUBLE 2.SCALAR.INT.true _mVar116.MATRIX.DOUBLE
> ----------CP createvar _mVar117 scratch_space//_p31545_9.30.110.155//_t0/temp58 true MATRIX binaryblock 1 1 1000 1000 -1 copy
> ----------SPARK uak+ _mVar116.MATRIX.DOUBLE _mVar117.MATRIX.DOUBLE SINGLE_BLOCK
> ----------CP rmvar _mVar116
> ----------CP castdts _mVar117.MATRIX.DOUBLE.false _Var118.SCALAR.DOUBLE
> ----------CP rmvar _mVar117
> ----------CP rmvar HV
> ----------CP assignvar _Var114.SCALAR.DOUBLE.false alpha.SCALAR.DOUBLE
> ----------CP assignvar _Var118.SCALAR.DOUBLE.false norm_Snew2.SCALAR.DOUBLE
> ----------CP cpvar _mVar110 HV
> ----------CP rmvar _Var114
> ----------CP cpvar _mVar115 Snew
> ----------CP rmvar _Var118
> ----------CP rmvar _mVar110
> ----------CP rmvar _mVar115
> --------IF (lines 216-238)
> ----------CP <= norm_Snew2.SCALAR.DOUBLE.false delta2.SCALAR.DOUBLE.false _Var119.SCALAR.BOOLEAN
> ----------CP rmvar _Var119
> ----------GENERIC (lines 218-223) [recompile=true]
> ------------CP createvar _mVar120 scratch_space//_p31545_9.30.110.155//_t0/temp59 true MATRIX binaryblock 10 -1 1000 1000 -1 copy
> ------------SPARK -* R.MATRIX.DOUBLE alpha.SCALAR.DOUBLE.false HV.MATRIX.DOUBLE _mVar120.MATRIX.DOUBLE
> ------------CP * 0.1.SCALAR.DOUBLE.true norm_Grad.SCALAR.DOUBLE.false _Var121.SCALAR.DOUBLE
> ------------CP createvar _mVar122 scratch_space//_p31545_9.30.110.155//_t0/temp60 true MATRIX binaryblock 10 -1 1000 1000 -1 copy
> ------------SPARK ^2 _mVar120.MATRIX.DOUBLE 2.SCALAR.INT.true _mVar122.MATRIX.DOUBLE
> ------------CP createvar _mVar123 scratch_space//_p31545_9.30.110.155//_t0/temp61 true MATRIX binaryblock 1 1 1000 1000 -1 copy
> ------------SPARK uak+ _mVar122.MATRIX.DOUBLE _mVar123.MATRIX.DOUBLE SINGLE_BLOCK
> ------------CP rmvar _mVar122
> ------------CP castdts _mVar123.MATRIX.DOUBLE.false _Var124.SCALAR.DOUBLE
> ------------CP rmvar _mVar123
> ------------CP / _Var124.SCALAR.DOUBLE.false norm_R2.SCALAR.DOUBLE.false _Var125.SCALAR.DOUBLE
> ------------CP sqrt _Var124.SCALAR.DOUBLE.false _Var126.SCALAR.DOUBLE
> ------------CP createvar _mVar127 scratch_space//_p31545_9.30.110.155//_t0/temp62 true MATRIX binaryblock 10 -1 1000 1000 -1 copy
> ------------SPARK +* _mVar120.MATRIX.DOUBLE _Var125.SCALAR.DOUBLE.false V.MATRIX.DOUBLE _mVar127.MATRIX.DOUBLE
> ------------CP rmvar _Var125
> ------------CP <= _Var126.SCALAR.DOUBLE.false _Var121.SCALAR.DOUBLE.false _Var128.SCALAR.BOOLEAN
> ------------CP rmvar _Var126
> ------------CP rmvar _Var121
> ------------CP rmvar R
> ------------CP rmvar V
> ------------CP assignvar _Var124.SCALAR.DOUBLE.false norm_R2.SCALAR.DOUBLE
> ------------CP assignvar _Var128.SCALAR.BOOLEAN.false innerconverge.SCALAR.BOOLEAN
> ------------CP cpvar Snew S
> ------------CP cpvar _mVar120 R
> ------------CP rmvar _Var124
> ------------CP rmvar _Var128
> ------------CP cpvar _mVar127 V
> ------------CP rmvar _mVar120
> ------------CP rmvar _mVar127
> ------------CP rmvar Snew
> ------------CP rmvar HV
> ------------CP rmvar alpha
> --------ELSE
> ----------GENERIC (lines 225-229) [recompile=true]
> ------------CP createvar _mVar129 scratch_space//_p31545_9.30.110.155//_t0/temp63 true MATRIX binaryblock 10 -1 1000 1000 -1 copy
> ------------SPARK * S.MATRIX.DOUBLE V.MATRIX.DOUBLE _mVar129.MATRIX.DOUBLE
> ------------CP createvar _mVar130 scratch_space//_p31545_9.30.110.155//_t0/temp64 true MATRIX binaryblock 10 -1 1000 1000 -1 copy
> ------------SPARK ^2 V.MATRIX.DOUBLE 2.SCALAR.INT.true _mVar130.MATRIX.DOUBLE
> ------------CP createvar _mVar131 scratch_space//_p31545_9.30.110.155//_t0/temp65 true MATRIX binaryblock -1 -1 1000 1000 -1 copy
> ------------SPARK ^2 S.MATRIX.DOUBLE 2.SCALAR.INT.true _mVar131.MATRIX.DOUBLE
> ------------CP createvar _mVar132 scratch_space//_p31545_9.30.110.155//_t0/temp66 true MATRIX binaryblock 1 1 1000 1000 -1 copy
> ------------SPARK uak+ _mVar129.MATRIX.DOUBLE _mVar132.MATRIX.DOUBLE SINGLE_BLOCK
> ------------CP rmvar _mVar129
> ------------CP createvar _mVar133 scratch_space//_p31545_9.30.110.155//_t0/temp67 true MATRIX binaryblock 1 1 1000 1000 -1 copy
> ------------SPARK uak+ _mVar130.MATRIX.DOUBLE _mVar133.MATRIX.DOUBLE SINGLE_BLOCK
> ------------CP rmvar _mVar130
> ------------CP createvar _mVar134 scratch_space//_p31545_9.30.110.155//_t0/temp68 true MATRIX binaryblock 1 1 1000 1000 -1 copy
> ------------SPARK uak+ _mVar131.MATRIX.DOUBLE _mVar134.MATRIX.DOUBLE SINGLE_BLOCK
> ------------CP rmvar _mVar131
> ------------CP castdts _mVar132.MATRIX.DOUBLE.false _Var135.SCALAR.DOUBLE
> ------------CP rmvar _mVar132
> ------------CP castdts _mVar133.MATRIX.DOUBLE.false _Var136.SCALAR.DOUBLE
> ------------CP rmvar _mVar133
> ------------CP castdts _mVar134.MATRIX.DOUBLE.false _Var137.SCALAR.DOUBLE
> ------------CP rmvar _mVar134
> ------------CP ^ _Var135.SCALAR.DOUBLE.false 2.SCALAR.INT.true _Var138.SCALAR.DOUBLE
> ------------CP - delta2.SCALAR.DOUBLE.false _Var137.SCALAR.DOUBLE.false _Var139.SCALAR.DOUBLE
> ------------CP * _Var136.SCALAR.DOUBLE.false _Var139.SCALAR.DOUBLE.false _Var140.SCALAR.DOUBLE
> ------------CP rmvar _Var139
> ------------CP + _Var138.SCALAR.DOUBLE.false _Var140.SCALAR.DOUBLE.false _Var141.SCALAR.DOUBLE
> ------------CP rmvar _Var138
> ------------CP rmvar _Var140
> ------------CP sqrt _Var141.SCALAR.DOUBLE.false _Var142.SCALAR.DOUBLE
> ------------CP rmvar _Var141
> ------------CP assignvar 1.SCALAR.INT.true is_trust_boundary_reached.SCALAR.INT
> ------------CP assignvar _Var135.SCALAR.DOUBLE.false sv.SCALAR.DOUBLE
> ------------CP assignvar _Var136.SCALAR.DOUBLE.false v2.SCALAR.DOUBLE
> ------------CP assignvar _Var137.SCALAR.DOUBLE.false s2.SCALAR.DOUBLE
> ------------CP assignvar _Var142.SCALAR.DOUBLE.false rad.SCALAR.DOUBLE
> ------------CP rmvar _Var135
> ------------CP rmvar _Var136
> ------------CP rmvar _Var137
> ------------CP rmvar _Var142
> ----------IF (lines 230-234)
> ------------CP >= sv.SCALAR.DOUBLE.false 0.SCALAR.INT.true _Var143.SCALAR.BOOLEAN
> ------------CP rmvar _Var143
> ------------GENERIC (lines 231-231) [recompile=false]
> --------------CP - delta2.SCALAR.DOUBLE.false s2.SCALAR.DOUBLE.false _Var144.SCALAR.DOUBLE
> --------------CP + sv.SCALAR.DOUBLE.false rad.SCALAR.DOUBLE.false _Var145.SCALAR.DOUBLE
> --------------CP / _Var144.SCALAR.DOUBLE.false _Var145.SCALAR.DOUBLE.false _Var146.SCALAR.DOUBLE
> --------------CP rmvar _Var144
> --------------CP rmvar _Var145
> --------------CP assignvar _Var146.SCALAR.DOUBLE.false alpha.SCALAR.DOUBLE
> --------------CP rmvar _Var146
> --------------CP rmvar rad
> --------------CP rmvar s2
> --------------CP rmvar sv
> ----------ELSE
> ------------GENERIC (lines 233-233) [recompile=false]
> --------------CP - rad.SCALAR.DOUBLE.false sv.SCALAR.DOUBLE.false _Var147.SCALAR.DOUBLE
> --------------CP / _Var147.SCALAR.DOUBLE.false v2.SCALAR.DOUBLE.false _Var148.SCALAR.DOUBLE
> --------------CP rmvar _Var147
> --------------CP assignvar _Var148.SCALAR.DOUBLE.false alpha.SCALAR.DOUBLE
> --------------CP rmvar _Var148
> --------------CP rmvar rad
> --------------CP rmvar sv
> --------------CP rmvar v2
> ----------GENERIC (lines 235-237) [recompile=true]
> ------------CP createvar _mVar149 scratch_space//_p31545_9.30.110.155//_t0/temp69 true MATRIX binaryblock -1 -1 1000 1000 -1 copy
> ------------SPARK +* S.MATRIX.DOUBLE alpha.SCALAR.DOUBLE.false V.MATRIX.DOUBLE _mVar149.MATRIX.DOUBLE
> ------------CP createvar _mVar150 scratch_space//_p31545_9.30.110.155//_t0/temp70 true MATRIX binaryblock 10 -1 1000 1000 -1 copy
> ------------SPARK -* R.MATRIX.DOUBLE alpha.SCALAR.DOUBLE.false HV.MATRIX.DOUBLE _mVar150.MATRIX.DOUBLE
> ------------CP rmvar R
> ------------CP rmvar S
> ------------CP assignvar true.SCALAR.BOOLEAN.true innerconverge.SCALAR.BOOLEAN
> ------------CP cpvar _mVar149 S
> ------------CP cpvar _mVar150 R
> ------------CP rmvar _mVar149
> ------------CP rmvar _mVar150
> ------------CP rmvar HV
> ------------CP rmvar alpha
> --------GENERIC (lines 239-240) [recompile=false]
> ----------CP + inneriter.SCALAR.INT.false 1.SCALAR.INT.true _Var151.SCALAR.INT
> ----------CP > _Var151.SCALAR.INT.false maxinneriter.SCALAR.INT.false _Var152.SCALAR.BOOLEAN
> ----------CP || innerconverge.SCALAR.BOOLEAN.false _Var152.SCALAR.BOOLEAN.false _Var153.SCALAR.BOOLEAN
> ----------CP rmvar _Var152
> ----------CP assignvar _Var151.SCALAR.INT.false inneriter.SCALAR.INT
> ----------CP assignvar _Var153.SCALAR.BOOLEAN.false innerconverge.SCALAR.BOOLEAN
> ----------CP rmvar _Var151
> ----------CP rmvar _Var153
> ------GENERIC (lines 246-248) [recompile=true]
> --------CP createvar _mVar154 scratch_space//_p31545_9.30.110.155//_t0/temp71 true MATRIX binaryblock 10 -1 1000 1000 -1 copy
> --------SPARK * S.MATRIX.DOUBLE Grad.MATRIX.DOUBLE _mVar154.MATRIX.DOUBLE
> --------CP createvar _mVar155 scratch_space//_p31545_9.30.110.155//_t0/temp72 true MATRIX binaryblock 10 -1 1000 1000 -1 copy
> --------SPARK * S.MATRIX.DOUBLE R.MATRIX.DOUBLE _mVar155.MATRIX.DOUBLE
> --------CP createvar _mVar156 scratch_space//_p31545_9.30.110.155//_t0/temp73 true MATRIX binaryblock 10 -1 1000 1000 -1 copy
> --------SPARK + B.MATRIX.DOUBLE S.MATRIX.DOUBLE _mVar156.MATRIX.DOUBLE
> --------CP createvar _mVar157 scratch_space//_p31545_9.30.110.155//_t0/temp74 true MATRIX binaryblock 1 1 1000 1000 -1 copy
> --------SPARK uak+ _mVar154.MATRIX.DOUBLE _mVar157.MATRIX.DOUBLE SINGLE_BLOCK
> --------CP rmvar _mVar154
> --------CP createvar _mVar158 scratch_space//_p31545_9.30.110.155//_t0/temp75 true MATRIX binaryblock 1 1 1000 1000 -1 copy
> --------SPARK uak+ _mVar155.MATRIX.DOUBLE _mVar158.MATRIX.DOUBLE SINGLE_BLOCK
> --------CP rmvar _mVar155
> --------CP castdts _mVar157.MATRIX.DOUBLE.false _Var159.SCALAR.DOUBLE
> --------CP rmvar _mVar157
> --------CP castdts _mVar158.MATRIX.DOUBLE.false _Var160.SCALAR.DOUBLE
> --------CP rmvar _mVar158
> --------CP - _Var159.SCALAR.DOUBLE.false _Var160.SCALAR.DOUBLE.false _Var161.SCALAR.DOUBLE
> --------CP rmvar _Var160
> --------CP * -0.5.SCALAR.DOUBLE.true _Var161.SCALAR.DOUBLE.false _Var162.SCALAR.DOUBLE
> --------CP rmvar _Var161
> --------CP assignvar _Var159.SCALAR.DOUBLE.false gs.SCALAR.DOUBLE
> --------CP assignvar _Var162.SCALAR.DOUBLE.false qk.SCALAR.DOUBLE
> --------CP cpvar _mVar156 B_new
> --------CP rmvar _Var159
> --------CP rmvar _Var162
> --------CP rmvar _mVar156
> --------CP rmvar R
> ------GENERIC (lines 253-253) [recompile=true]
> --------CP cpvar B_new ssX_B_new
> ------GENERIC (lines 256-256) [recompile=true]
> --------CP createvar _mVar163 scratch_space//_p31545_9.30.110.155//_t0/temp76 true MATRIX binaryblock 120748239 -1 1000 1000 -1 copy
> --------SPARK cpmm X.MATRIX.DOUBLE ssX_B_new.MATRIX.DOUBLE _mVar163.MATRIX.DOUBLE MULTI_BLOCK
> --------CP createvar _mVar164 scratch_space//_p31545_9.30.110.155//_t0/temp77 true MATRIX binaryblock 120748239 1 1000 1000 0 copy
> --------CP rand 120748239 1 1000 1000 0.0 0.0 1.0 -1 uniform 1.0 48 _mVar164.MATRIX.DOUBLE
> --------CP ncol _mVar163.MATRIX.DOUBLE.false _Var165.SCALAR.INT
> --------CP createvar _mVar166 scratch_space//_p31545_9.30.110.155//_t0/temp78 true MATRIX binaryblock 120748239 -1 1000 1000 -1 copy
> --------SPARK mappend _mVar163.MATRIX.DOUBLE _mVar164.MATRIX.DOUBLE _Var165.SCALAR.INT.false _mVar166.MATRIX.DOUBLE true
> --------CP rmvar _mVar163
> --------CP rmvar _mVar164
> --------CP rmvar _Var165
> --------CP cpvar _mVar166 LT
> --------CP rmvar _mVar166
> --------CP rmvar ssX_B_new
> ------GENERIC (lines 261-273) [recompile=true]
> --------CP createvar _mVar167 scratch_space//_p31545_9.30.110.155//_t0/temp79 true MATRIX binaryblock 120748239 1 1000 1000 -1 copy
> --------SPARK uarmax LT.MATRIX.DOUBLE _mVar167.MATRIX.DOUBLE MULTI_BLOCK
> --------CP createvar _mVar168 scratch_space//_p31545_9.30.110.155//_t0/temp80 true MATRIX binaryblock 10 -1 1000 1000 -1 copy
> --------SPARK ^2 B_new.MATRIX.DOUBLE 2.SCALAR.INT.true _mVar168.MATRIX.DOUBLE
> --------CP createvar _mVar169 scratch_space//_p31545_9.30.110.155//_t0/temp81 true MATRIX binaryblock 10 -1 1000 1000 -1 copy
> --------SPARK ^2 S.MATRIX.DOUBLE 2.SCALAR.INT.true _mVar169.MATRIX.DOUBLE
> --------CP createvar _mVar170 scratch_space//_p31545_9.30.110.155//_t0/temp82 true MATRIX binaryblock 120748239 -1 1000 1000 -1 copy
> --------SPARK - LT.MATRIX.DOUBLE _mVar167.MATRIX.DOUBLE _mVar170.MATRIX.DOUBLE
> --------CP rmvar _mVar167
> --------CP createvar _mVar171 scratch_space//_p31545_9.30.110.155//_t0/temp83 true MATRIX binaryblock 10 -1 1000 1000 -1 copy
> --------SPARK * lambda.MATRIX.DOUBLE _mVar168.MATRIX.DOUBLE _mVar171.MATRIX.DOUBLE
> --------CP rmvar _mVar168
> --------CP createvar _mVar172 scratch_space//_p31545_9.30.110.155//_t0/temp84 true MATRIX binaryblock 1 1 1000 1000 -1 copy
> --------SPARK uak+ _mVar169.MATRIX.DOUBLE _mVar172.MATRIX.DOUBLE SINGLE_BLOCK
> --------CP rmvar _mVar169
> --------CP createvar _mVar173 scratch_space//_p31545_9.30.110.155//_t0/temp85 true MATRIX binaryblock 120748239 -1 1000 1000 -1 copy
> --------SPARK exp _mVar170.MATRIX.DOUBLE _mVar173.MATRIX.DOUBLE
> --------CP createvar _mVar174 scratch_space//_p31545_9.30.110.155//_t0/temp86 true MATRIX binaryblock 120748239 -1 1000 1000 -1 copy
> --------SPARK * Y.MATRIX.DOUBLE _mVar170.MATRIX.DOUBLE _mVar174.MATRIX.DOUBLE
> --------CP rmvar _mVar170
> --------CP createvar _mVar175 scratch_space//_p31545_9.30.110.155//_t0/temp87 true MATRIX binaryblock 1 1 1000 1000 -1 copy
> --------SPARK uak+ _mVar171.MATRIX.DOUBLE _mVar175.MATRIX.DOUBLE SINGLE_BLOCK
> --------CP rmvar _mVar171
> --------CP castdts _mVar172.MATRIX.DOUBLE.false _Var176.SCALAR.DOUBLE
> --------CP rmvar _mVar172
> --------CP createvar _mVar177 scratch_space//_p31545_9.30.110.155//_t0/temp88 true MATRIX binaryblock 120748239 1 1000 1000 -1 copy
> --------SPARK uark+ _mVar173.MATRIX.DOUBLE _mVar177.MATRIX.DOUBLE MULTI_BLOCK
> --------CP createvar _mVar178 scratch_space//_p31545_9.30.110.155//_t0/temp89 true MATRIX binaryblock 1 1 1000 1000 -1 copy
> --------SPARK uak+ _mVar174.MATRIX.DOUBLE _mVar178.MATRIX.DOUBLE SINGLE_BLOCK
> --------CP rmvar _mVar174
> --------CP castdts _mVar175.MATRIX.DOUBLE.false _Var179.SCALAR.DOUBLE
> --------CP rmvar _mVar175
> --------CP sqrt _Var176.SCALAR.DOUBLE.false _Var180.SCALAR.DOUBLE
> --------CP rmvar _Var176
> --------CP createvar _mVar181 scratch_space//_p31545_9.30.110.155//_t0/temp90 true MATRIX binaryblock 120748239 -1 1000 1000 -1 copy
> --------SPARK / _mVar173.MATRIX.DOUBLE _mVar177.MATRIX.DOUBLE _mVar181.MATRIX.DOUBLE
> --------CP rmvar _mVar173
> --------CP castdts _mVar178.MATRIX.DOUBLE.false _Var182.SCALAR.DOUBLE
> --------CP rmvar _mVar178
> --------CP createvar _mVar183 scratch_space//_p31545_9.30.110.155//_t0/temp91 true MATRIX binaryblock 120748239 1 1000 1000 -1 copy
> --------CP log _mVar177.MATRIX.DOUBLE _mVar183.MATRIX.DOUBLE
> --------CP rmvar _mVar177
> --------CP * 0.5.SCALAR.DOUBLE.true _Var179.SCALAR.DOUBLE.false _Var184.SCALAR.DOUBLE
> --------CP rmvar _Var179
> --------CP * _Var182.SCALAR.DOUBLE.false -1.SCALAR.INT.true _Var185.SCALAR.DOUBLE
> --------CP rmvar _Var182
> --------CP uak+ _mVar183.MATRIX.DOUBLE _Var186.SCALAR.DOUBLE 48
> --------CP rmvar _mVar183
> --------CP + _Var185.SCALAR.DOUBLE.false _Var186.SCALAR.DOUBLE.false _Var187.SCALAR.DOUBLE
> --------CP rmvar _Var185
> --------CP rmvar _Var186
> --------CP + _Var187.SCALAR.DOUBLE.false _Var184.SCALAR.DOUBLE.false _Var188.SCALAR.DOUBLE
> --------CP rmvar _Var187
> --------CP rmvar _Var184
> --------CP - obj.SCALAR.DOUBLE.false _Var188.SCALAR.DOUBLE.false _Var189.SCALAR.DOUBLE
> --------CP / _Var189.SCALAR.DOUBLE.false qk.SCALAR.DOUBLE.false _Var190.SCALAR.DOUBLE
> --------CP > _Var190.SCALAR.DOUBLE.false 1.0E-4.SCALAR.DOUBLE.true _Var191.SCALAR.BOOLEAN
> --------CP assignvar _Var180.SCALAR.DOUBLE.false snorm.SCALAR.DOUBLE
> --------CP assignvar _Var188.SCALAR.DOUBLE.false obj_new.SCALAR.DOUBLE
> --------CP assignvar _Var189.SCALAR.DOUBLE.false actred.SCALAR.DOUBLE
> --------CP assignvar _Var190.SCALAR.DOUBLE.false rho.SCALAR.DOUBLE
> --------CP assignvar _Var191.SCALAR.BOOLEAN.false is_rho_accepted.SCALAR.BOOLEAN
> --------CP rmvar _Var180
> --------CP cpvar _mVar181 P_new
> --------CP rmvar _Var188
> --------CP rmvar _Var189
> --------CP rmvar _Var190
> --------CP rmvar _Var191
> --------CP rmvar _mVar181
> --------CP rmvar LT
> --------CP rmvar S
> ------IF (lines 285-287)
> --------CP == iter.SCALAR.INT.false 1.SCALAR.INT.true _Var192.SCALAR.BOOLEAN
> --------CP rmvar _Var192
> --------GENERIC (lines 286-286) [recompile=false]
> ----------CP min delta.SCALAR.DOUBLE.false snorm.SCALAR.DOUBLE.false _Var193.SCALAR.DOUBLE
> ----------CP assignvar _Var193.SCALAR.DOUBLE.false delta.SCALAR.DOUBLE
> ----------CP rmvar _Var193
> ------GENERIC (lines 289-289) [recompile=false]
> --------CP - obj_new.SCALAR.DOUBLE.false obj.SCALAR.DOUBLE.false _Var194.SCALAR.DOUBLE
> --------CP - _Var194.SCALAR.DOUBLE.false gs.SCALAR.DOUBLE.false _Var195.SCALAR.DOUBLE
> --------CP rmvar _Var194
> --------CP assignvar _Var195.SCALAR.DOUBLE.false alpha2.SCALAR.DOUBLE
> --------CP rmvar _Var195
> ------IF (lines 290-295)
> --------CP <= alpha2.SCALAR.DOUBLE.false 0.SCALAR.INT.true _Var196.SCALAR.BOOLEAN
> --------CP rmvar _Var196
> --------GENERIC (lines 291-291) [recompile=false]
> ----------CP assignvar sigma3.SCALAR.DOUBLE.false alpha.SCALAR.DOUBLE
> ------ELSE
> --------GENERIC (lines 294-294) [recompile=false]
> ----------CP * -0.5.SCALAR.DOUBLE.true gs.SCALAR.DOUBLE.false _Var197.SCALAR.DOUBLE
> ----------CP / _Var197.SCALAR.DOUBLE.false alpha2.SCALAR.DOUBLE.false _Var198.SCALAR.DOUBLE
> ----------CP rmvar _Var197
> ----------CP max sigma1.SCALAR.DOUBLE.false _Var198.SCALAR.DOUBLE.false _Var199.SCALAR.DOUBLE
> ----------CP rmvar _Var198
> ----------CP assignvar _Var199.SCALAR.DOUBLE.false alpha.SCALAR.DOUBLE
> ----------CP rmvar _Var199
> ----------CP rmvar gs
> ----------CP rmvar alpha2
> ------IF (lines 297-312)
> --------CP < rho.SCALAR.DOUBLE.false 1.0E-4.SCALAR.DOUBLE.true _Var200.SCALAR.BOOLEAN
> --------CP rmvar _Var200
> --------GENERIC (lines 298-298) [recompile=false]
> ----------CP max alpha.SCALAR.DOUBLE.false sigma1.SCALAR.DOUBLE.false _Var201.SCALAR.DOUBLE
> ----------CP * 0.5.SCALAR.DOUBLE.true delta.SCALAR.DOUBLE.false _Var202.SCALAR.DOUBLE
> ----------CP * _Var201.SCALAR.DOUBLE.false snorm.SCALAR.DOUBLE.false _Var203.SCALAR.DOUBLE
> ----------CP rmvar _Var201
> ----------CP min _Var203.SCALAR.DOUBLE.false _Var202.SCALAR.DOUBLE.false _Var204.SCALAR.DOUBLE
> ----------CP rmvar _Var203
> ----------CP rmvar _Var202
> ----------CP assignvar _Var204.SCALAR.DOUBLE.false delta.SCALAR.DOUBLE
> ----------CP rmvar _Var204
> ----------CP rmvar alpha
> ------ELSE
> --------IF (lines 301-311)
> ----------CP < rho.SCALAR.DOUBLE.false 0.25.SCALAR.DOUBLE.true _Var205.SCALAR.BOOLEAN
> ----------CP rmvar _Var205
> ----------GENERIC (lines 302-302) [recompile=false]
> ------------CP * 0.25.SCALAR.DOUBLE.true delta.SCALAR.DOUBLE.false _Var206.SCALAR.DOUBLE
> ------------CP * alpha.SCALAR.DOUBLE.false snorm.SCALAR.DOUBLE.false _Var207.SCALAR.DOUBLE
> ------------CP * 0.5.SCALAR.DOUBLE.true delta.SCALAR.DOUBLE.false _Var208.SCALAR.DOUBLE
> ------------CP min _Var207.SCALAR.DOUBLE.false _Var208.SCALAR.DOUBLE.false _Var209.SCALAR.DOUBLE
> ------------CP rmvar _Var207
> ------------CP rmvar _Var208
> ------------CP max _Var206.SCALAR.DOUBLE.false _Var209.SCALAR.DOUBLE.false _Var210.SCALAR.DOUBLE
> ------------CP rmvar _Var206
> ------------CP rmvar _Var209
> ------------CP assignvar _Var210.SCALAR.DOUBLE.false delta.SCALAR.DOUBLE
> ------------CP rmvar _Var210
> ------------CP rmvar alpha
> --------ELSE
> ----------IF (lines 305-310)
> ------------CP < rho.SCALAR.DOUBLE.false 0.75.SCALAR.DOUBLE.true _Var211.SCALAR.BOOLEAN
> ------------CP rmvar _Var211
> ------------GENERIC (lines 306-306) [recompile=false]
> --------------CP * 0.25.SCALAR.DOUBLE.true delta.SCALAR.DOUBLE.false _Var212.SCALAR.DOUBLE
> --------------CP * alpha.SCALAR.DOUBLE.false snorm.SCALAR.DOUBLE.false _Var213.SCALAR.DOUBLE
> --------------CP * 4.0.SCALAR.DOUBLE.true delta.SCALAR.DOUBLE.false _Var214.SCALAR.DOUBLE
> --------------CP min _Var213.SCALAR.DOUBLE.false _Var214.SCALAR.DOUBLE.false _Var215.SCALAR.DOUBLE
> --------------CP rmvar _Var213
> --------------CP rmvar _Var214
> --------------CP max _Var212.SCALAR.DOUBLE.false _Var215.SCALAR.DOUBLE.false _Var216.SCALAR.DOUBLE
> --------------CP rmvar _Var212
> --------------CP rmvar _Var215
> --------------CP assignvar _Var216.SCALAR.DOUBLE.false delta.SCALAR.DOUBLE
> --------------CP rmvar _Var216
> --------------CP rmvar alpha
> ----------ELSE
> ------------GENERIC (lines 309-309) [recompile=false]
> --------------CP * alpha.SCALAR.DOUBLE.false snorm.SCALAR.DOUBLE.false _Var217.SCALAR.DOUBLE
> --------------CP * 4.0.SCALAR.DOUBLE.true delta.SCALAR.DOUBLE.false _Var218.SCALAR.DOUBLE
> --------------CP min _Var217.SCALAR.DOUBLE.false _Var218.SCALAR.DOUBLE.false _Var219.SCALAR.DOUBLE
> --------------CP rmvar _Var217
> --------------CP rmvar _Var218
> --------------CP max delta.SCALAR.DOUBLE.false _Var219.SCALAR.DOUBLE.false _Var220.SCALAR.DOUBLE
> --------------CP rmvar _Var219
> --------------CP assignvar _Var220.SCALAR.DOUBLE.false delta.SCALAR.DOUBLE
> --------------CP rmvar _Var220
> --------------CP rmvar alpha
> ------IF (lines 314-319)
> --------CP == is_trust_boundary_reached.SCALAR.INT.false 1.SCALAR.INT.true _Var221.SCALAR.BOOLEAN
> --------CP rmvar _Var221
> --------GENERIC (lines 316-316) [recompile=false]
> ----------CP + -- Outer Iteration .SCALAR.STRING.true iter.SCALAR.INT.false _Var222.SCALAR.STRING
> ----------CP - inneriter.SCALAR.INT.false 1.SCALAR.INT.true _Var223.SCALAR.INT
> ----------CP + _Var222.SCALAR.STRING.false : Had .SCALAR.STRING.true _Var224.SCALAR.STRING
> ----------CP rmvar _Var222
> ----------CP + _Var224.SCALAR.STRING.false _Var223.SCALAR.INT.false _Var225.SCALAR.STRING
> ----------CP rmvar _Var224
> ----------CP rmvar _Var223
> ----------CP + _Var225.SCALAR.STRING.false  CG iterations, trust bound REACHED.SCALAR.STRING.true _Var226.SCALAR.STRING
> ----------CP rmvar _Var225
> ----------CP print _Var226.SCALAR.STRING.false _Var227.SCALAR.STRING
> ----------CP rmvar _Var226
> ----------CP rmvar _Var227
> ----------CP rmvar inneriter
> ------ELSE
> --------GENERIC (lines 318-318) [recompile=false]
> ----------CP + -- Outer Iteration .SCALAR.STRING.true iter.SCALAR.INT.false _Var228.SCALAR.STRING
> ----------CP - inneriter.SCALAR.INT.false 1.SCALAR.INT.true _Var229.SCALAR.INT
> ----------CP + _Var228.SCALAR.STRING.false : Had .SCALAR.STRING.true _Var230.SCALAR.STRING
> ----------CP rmvar _Var228
> ----------CP + _Var230.SCALAR.STRING.false _Var229.SCALAR.INT.false _Var231.SCALAR.STRING
> ----------CP rmvar _Var230
> ----------CP rmvar _Var229
> ----------CP + _Var231.SCALAR.STRING.false  CG iterations.SCALAR.STRING.true _Var232.SCALAR.STRING
> ----------CP rmvar _Var231
> ----------CP print _Var232.SCALAR.STRING.false _Var233.SCALAR.STRING
> ----------CP rmvar _Var232
> ----------CP rmvar _Var233
> ----------CP rmvar inneriter
> ------GENERIC (lines 320-321) [recompile=false]
> --------CP +    -- Obj.Reduction:  Actual = .SCALAR.STRING.true actred.SCALAR.DOUBLE.false _Var234.SCALAR.STRING
> --------CP * 10000.0.SCALAR.DOUBLE.true rho.SCALAR.DOUBLE.false _Var235.SCALAR.DOUBLE
> --------CP + _Var234.SCALAR.STRING.false ,  Predicted = .SCALAR.STRING.true _Var236.SCALAR.STRING
> --------CP rmvar _Var234
> --------CP round _Var235.SCALAR.DOUBLE.false _Var237.SCALAR.DOUBLE
> --------CP rmvar _Var235
> --------CP + _Var236.SCALAR.STRING.false qk.SCALAR.DOUBLE.false _Var238.SCALAR.STRING
> --------CP rmvar _Var236
> --------CP / _Var237.SCALAR.DOUBLE.false 10000.0.SCALAR.DOUBLE.true _Var239.SCALAR.DOUBLE
> --------CP rmvar _Var237
> --------CP + _Var238.SCALAR.STRING.false   (A/P: .SCALAR.STRING.true _Var240.SCALAR.STRING
> --------CP rmvar _Var238
> --------CP + _Var240.SCALAR.STRING.false _Var239.SCALAR.DOUBLE.false _Var241.SCALAR.STRING
> --------CP rmvar _Var240
> --------CP rmvar _Var239
> --------CP + _Var241.SCALAR.STRING.false ),  Trust Delta = .SCALAR.STRING.true _Var242.SCALAR.STRING
> --------CP rmvar _Var241
> --------CP + _Var242.SCALAR.STRING.false delta.SCALAR.DOUBLE.false _Var243.SCALAR.STRING
> --------CP rmvar _Var242
> --------CP print _Var243.SCALAR.STRING.false _Var244.SCALAR.STRING
> --------CP rmvar _Var243
> --------CP rmvar _Var244
> --------CP rmvar qk
> --------CP rmvar rho
> ------IF (lines 323-343)
> --------GENERIC (lines 325-327) [recompile=true]
> ----------CP createvar _mVar245 scratch_space//_p31545_9.30.110.155//_t0/temp92 true MATRIX binaryblock 10 120748239 1000 1000 -1 copy
> ----------SPARK r' X.MATRIX.DOUBLE _mVar245.MATRIX.DOUBLE
> ----------CP createvar _mVar246 scratch_space//_p31545_9.30.110.155//_t0/temp93 true MATRIX binaryblock 120748239 -1 1000 1000 -1 copy
> ----------SPARK rangeReIndex P_new.MATRIX.DOUBLE 1.SCALAR.INT.true 120748239.SCALAR.INT.true 1.SCALAR.INT.true K.SCALAR.INT.false _mVar246.MATRIX.DOUBLE MULTI_BLOCK
> ----------CP createvar _mVar247 scratch_space//_p31545_9.30.110.155//_t0/temp94 true MATRIX binaryblock 120748239 -1 1000 1000 -1 copy
> ----------SPARK rangeReIndex Y.MATRIX.DOUBLE 1.SCALAR.INT.true 120748239.SCALAR.INT.true 1.SCALAR.INT.true K.SCALAR.INT.false _mVar247.MATRIX.DOUBLE MULTI_BLOCK
> ----------CP createvar _mVar248 scratch_space//_p31545_9.30.110.155//_t0/temp95 true MATRIX binaryblock 120748239 -1 1000 1000 -1 copy
> ----------SPARK - _mVar246.MATRIX.DOUBLE _mVar247.MATRIX.DOUBLE _mVar248.MATRIX.DOUBLE
> ----------CP rmvar _mVar246
> ----------CP rmvar _mVar247
> ----------CP createvar _mVar249 scratch_space//_p31545_9.30.110.155//_t0/temp96 true MATRIX binaryblock 10 -1 1000 1000 -1 copy
> ----------SPARK cpmm _mVar245.MATRIX.DOUBLE _mVar248.MATRIX.DOUBLE _mVar249.MATRIX.DOUBLE MULTI_BLOCK
> ----------CP rmvar _mVar245
> ----------CP rmvar _mVar248
> ----------CP cpvar B_new B
> ----------CP cpvar P_new P
> ----------CP cpvar _mVar249 Grad
> ----------CP rmvar _mVar249
> ----------CP rmvar P_new
> ----------CP rmvar B_new
> --------GENERIC (lines 331-334) [recompile=true]
> ----------CP createvar _mVar250 scratch_space//_p31545_9.30.110.155//_t0/temp97 true MATRIX binaryblock 10 -1 1000 1000 -1 copy
> ----------SPARK * lambda.MATRIX.DOUBLE B.MATRIX.DOUBLE _mVar250.MATRIX.DOUBLE
> ----------CP +    -- New Objective = .SCALAR.STRING.true obj_new.SCALAR.DOUBLE.false _Var251.SCALAR.STRING
> ----------CP createvar _mVar252 scratch_space//_p31545_9.30.110.155//_t0/temp98 true MATRIX binaryblock 10 -1 1000 1000 -1 copy
> ----------SPARK + Grad.MATRIX.DOUBLE _mVar250.MATRIX.DOUBLE _mVar252.MATRIX.DOUBLE
> ----------CP rmvar _mVar250
> ----------CP + _Var251.SCALAR.STRING.false ,  Beta Change Norm = .SCALAR.STRING.true _Var253.SCALAR.STRING
> ----------CP rmvar _Var251
> ----------CP createvar _mVar254 scratch_space//_p31545_9.30.110.155//_t0/temp99 true MATRIX binaryblock 10 -1 1000 1000 -1 copy
> ----------SPARK ^2 _mVar252.MATRIX.DOUBLE 2.SCALAR.INT.true _mVar254.MATRIX.DOUBLE
> ----------CP + _Var253.SCALAR.STRING.false snorm.SCALAR.DOUBLE.false _Var255.SCALAR.STRING
> ----------CP rmvar _Var253
> ----------CP createvar _mVar256 scratch_space//_p31545_9.30.110.155//_t0/temp100 true MATRIX binaryblock 1 1 1000 1000 -1 copy
> ----------SPARK uak+ _mVar254.MATRIX.DOUBLE _mVar256.MATRIX.DOUBLE SINGLE_BLOCK
> ----------CP rmvar _mVar254
> ----------CP + _Var255.SCALAR.STRING.false ,  Gradient Norm = .SCALAR.STRING.true _Var257.SCALAR.STRING
> ----------CP rmvar _Var255
> ----------CP castdts _mVar256.MATRIX.DOUBLE.false _Var258.SCALAR.DOUBLE
> ----------CP rmvar _mVar256
> ----------CP sqrt _Var258.SCALAR.DOUBLE.false _Var259.SCALAR.DOUBLE
> ----------CP rmvar _Var258
> ----------CP + _Var257.SCALAR.STRING.false _Var259.SCALAR.DOUBLE.false _Var260.SCALAR.STRING
> ----------CP rmvar _Var257
> ----------CP print _Var260.SCALAR.STRING.false _Var261.SCALAR.STRING
> ----------CP rmvar _Var260
> ----------CP rmvar Grad
> ----------CP assignvar obj_new.SCALAR.DOUBLE.false obj.SCALAR.DOUBLE
> ----------CP assignvar _Var259.SCALAR.DOUBLE.false norm_Grad.SCALAR.DOUBLE
> ----------CP cpvar _mVar252 Grad
> ----------CP rmvar _Var259
> ----------CP rmvar _Var261
> ----------CP rmvar _mVar252
> ----------CP rmvar snorm
> ------GENERIC (lines 349-351) [recompile=false]
> --------CP + iter.SCALAR.INT.false 1.SCALAR.INT.true _Var262.SCALAR.INT
> --------CP * tol.SCALAR.DOUBLE.false norm_Grad_initial.SCALAR.DOUBLE.false _Var263.SCALAR.DOUBLE
> --------CP == is_trust_boundary_reached.SCALAR.INT.false 0.SCALAR.INT.true _Var264.SCALAR.BOOLEAN
> --------CP abs actred.SCALAR.DOUBLE.false _Var265.SCALAR.DOUBLE
> --------CP abs obj.SCALAR.DOUBLE.false _Var266.SCALAR.DOUBLE
> --------CP abs obj_new.SCALAR.DOUBLE.false _Var267.SCALAR.DOUBLE
> --------CP < norm_Grad.SCALAR.DOUBLE.false _Var263.SCALAR.DOUBLE.false _Var268.SCALAR.BOOLEAN
> --------CP rmvar _Var263
> --------CP > _Var262.SCALAR.INT.false 100.SCALAR.INT.true _Var269.SCALAR.BOOLEAN
> --------CP + _Var266.SCALAR.DOUBLE.false _Var267.SCALAR.DOUBLE.false _Var270.SCALAR.DOUBLE
> --------CP rmvar _Var266
> --------CP rmvar _Var267
> --------CP || _Var268.SCALAR.BOOLEAN.false _Var269.SCALAR.BOOLEAN.false _Var271.SCALAR.BOOLEAN
> --------CP rmvar _Var268
> --------CP rmvar _Var269
> --------CP * _Var270.SCALAR.DOUBLE.false 1.0E-14.SCALAR.DOUBLE.true _Var272.SCALAR.DOUBLE
> --------CP rmvar _Var270
> --------CP < _Var265.SCALAR.DOUBLE.false _Var272.SCALAR.DOUBLE.false _Var273.SCALAR.BOOLEAN
> --------CP rmvar _Var265
> --------CP rmvar _Var272
> --------CP && _Var264.SCALAR.BOOLEAN.false _Var273.SCALAR.BOOLEAN.false _Var274.SCALAR.BOOLEAN
> --------CP rmvar _Var264
> --------CP rmvar _Var273
> --------CP || _Var271.SCALAR.BOOLEAN.false _Var274.SCALAR.BOOLEAN.false _Var275.SCALAR.BOOLEAN
> --------CP rmvar _Var271
> --------CP rmvar _Var274
> --------CP assignvar _Var262.SCALAR.INT.false iter.SCALAR.INT
> --------CP assignvar _Var275.SCALAR.BOOLEAN.false converge.SCALAR.BOOLEAN
> --------CP rmvar _Var262
> --------CP rmvar _Var275
> --------CP rmvar obj_new
> --------CP rmvar is_trust_boundary_reached
> --------CP rmvar actred
> ------IF (lines 352-352)
> --------GENERIC (lines 352-352) [recompile=false]
> ----------CP print Termination / Convergence condition satisfied..SCALAR.STRING.true _Var276.SCALAR.STRING
> ----------CP rmvar _Var276
> ------ELSE
> --------GENERIC (lines 352-352) [recompile=false]
> ----------CP print  .SCALAR.STRING.true _Var277.SCALAR.STRING
> ----------CP rmvar _Var277
> ----GENERIC (lines 359-359) [recompile=true]
> ------CP cpvar B B_out
> ------CP rmvar B
> ----GENERIC (lines 361-361) [recompile=true]
> ------SPARK write B_out.MATRIX.DOUBLE /user/data-scientist/airline_filtered_out.csv.SCALAR.STRING.true textcell.SCALAR.STRING.true .SCALAR.STRING.true
> ------CP rmvar fileB
> ------CP rmvar fmtB
> ------CP rmvar B_out
> {code}
> cc [~mboehm7]



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


Mime
View raw message