Skip to content

Commit

Permalink
adding optimization code
Browse files Browse the repository at this point in the history
  • Loading branch information
czma committed Sep 26, 2020
1 parent 1f598f8 commit 833dc0a
Show file tree
Hide file tree
Showing 43 changed files with 63,129 additions and 49,872 deletions.
27 changes: 4 additions & 23 deletions TFA_Optimization/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ python TFAinference.py -e hkMatrixE_optimize.csv -c hkSignedBinaryCS.csv -i 20 -


Expected printed output:

**the numbers won't be exactly the same because a new random set of starting CS values is generated with each execution**

Variance explained and error from random CS values: -2369.709 3293052.697
Expand All @@ -70,41 +71,21 @@ Expected printed output:
Expected file outputs:

logFiles/ExampleCSiteration0.csv - ExampleCSiteration19.csv

these are the CS values inferred across 20 iterations

logFiles/ExampleTFAiteration0.csv - ExampleTFAiteration19.csv

these are the TFA values inferred across 20 iterations
these are the CS/TFA values inferred across 20 iterations

logFiles/ExampleCS.log

this is the gurobi output when optimizing CS values
logged output from each iteration is appended to the end of this file

logFiles/ExampleTFA.log

this is the gurobi output when optimizing TFA values
logged output from each iteration is appended to the end of this file

logFiles/ExampleCrossCheck.log

this is the gurobi output when optimizing TFA values for the optional second expression dataset
this is the gurobi output when optimizing CS values / TFA values / TFA values for the optional -v input
logged output from each iteration is appended to the end of this file

modelFiles/ExampleCS.lp

this is the model file created for gurobi to optimize CS values
at each iteration, the entire file is updated to match the current model

modelFiles/ExampleTFA.lp

this is the model file created for gurobi to optimize TFA values
at each iteration, the entire file is updated to match the current model

modelFiles/ExampleCrossCheck.lp

this is the model file created for gurobi to optimize TFA values for the optional dataset
this is the model file created for gurobi to optimize CS values / TFA values / TFA values for the optional -v input
at each iteration, the entire file is updated to match the current model


918 changes: 918 additions & 0 deletions TFA_Optimization/logFiles/ExampleCS.log

Large diffs are not rendered by default.

1,556 changes: 778 additions & 778 deletions TFA_Optimization/logFiles/ExampleCSiteration0.csv

Large diffs are not rendered by default.

1,452 changes: 726 additions & 726 deletions TFA_Optimization/logFiles/ExampleCSiteration1.csv

Large diffs are not rendered by default.

778 changes: 778 additions & 0 deletions TFA_Optimization/logFiles/ExampleCSiteration10.csv

Large diffs are not rendered by default.

778 changes: 778 additions & 0 deletions TFA_Optimization/logFiles/ExampleCSiteration11.csv

Large diffs are not rendered by default.

778 changes: 778 additions & 0 deletions TFA_Optimization/logFiles/ExampleCSiteration12.csv

Large diffs are not rendered by default.

778 changes: 778 additions & 0 deletions TFA_Optimization/logFiles/ExampleCSiteration13.csv

Large diffs are not rendered by default.

778 changes: 778 additions & 0 deletions TFA_Optimization/logFiles/ExampleCSiteration14.csv

Large diffs are not rendered by default.

778 changes: 778 additions & 0 deletions TFA_Optimization/logFiles/ExampleCSiteration15.csv

Large diffs are not rendered by default.

778 changes: 778 additions & 0 deletions TFA_Optimization/logFiles/ExampleCSiteration16.csv

Large diffs are not rendered by default.

778 changes: 778 additions & 0 deletions TFA_Optimization/logFiles/ExampleCSiteration17.csv

Large diffs are not rendered by default.

1,346 changes: 673 additions & 673 deletions TFA_Optimization/logFiles/ExampleCSiteration2.csv

Large diffs are not rendered by default.

1,296 changes: 648 additions & 648 deletions TFA_Optimization/logFiles/ExampleCSiteration3.csv

Large diffs are not rendered by default.

778 changes: 778 additions & 0 deletions TFA_Optimization/logFiles/ExampleCSiteration4.csv

Large diffs are not rendered by default.

778 changes: 778 additions & 0 deletions TFA_Optimization/logFiles/ExampleCSiteration5.csv

Large diffs are not rendered by default.

778 changes: 778 additions & 0 deletions TFA_Optimization/logFiles/ExampleCSiteration6.csv

Large diffs are not rendered by default.

778 changes: 778 additions & 0 deletions TFA_Optimization/logFiles/ExampleCSiteration7.csv

Large diffs are not rendered by default.

778 changes: 778 additions & 0 deletions TFA_Optimization/logFiles/ExampleCSiteration8.csv

Large diffs are not rendered by default.

778 changes: 778 additions & 0 deletions TFA_Optimization/logFiles/ExampleCSiteration9.csv

Large diffs are not rendered by default.

Loading

0 comments on commit 833dc0a

Please sign in to comment.