-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgetOthersCode.sh
More file actions
executable file
·40 lines (33 loc) · 945 Bytes
/
getOthersCode.sh
File metadata and controls
executable file
·40 lines (33 loc) · 945 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/bin/bash
SOURCE="${BASH_SOURCE[0]}"
# resolve $SOURCE until the file is no longer a symlink
while [ -h "$SOURCE" ]; do
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
SOURCE="$(readlink "$SOURCE")"
# if $SOURCE was a relative symlink, we need to resolve it relative to
# the path where the symlink file was located
[[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE"
done
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
CUR_DIR=$(pwd)
cd ${DIR}/others
# check TOFCS package
if [ -d 'TFOCS' ]; then
git pull
else
git clone git@github.com:cvxr/TFOCS.git
fi
# get FPC_AS at the following address:
# http://www.caam.rice.edu/~optimization/L1/FPC_AS/request-for-downloading-fpc_as.html
# get glmnet_matlab at the following address:
# http://web.stanford.edu/~hastie/glmnet_matlab/download.html
# other useful tools:
# GAGA:
# fpc:
# cvx:
# AIRtools:
# pnopt:
# SCOPT
# YALL1
# https://www.cs.umd.edu/~tomg/projects/fasta/
exit 0;