Difference between revisions of "AMPL Models"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
'''Lectures 1 & 2''' | '''Lectures 1 & 2''' | ||
− | * [[Media:Model1.mod|First Simple AMPL Model | + | * [[Media:Model1.mod|Model1.mod]] A First Simple AMPL Model |
− | * [[Media:diet.mod|Example model from AMPL | + | * [[Media:diet.mod|diet.mod]] Example model from AMPL and [[Media:diet.dat|diet.dat]] example data file from AMPL |
− | * [[Media:SvenTravel.mod|Example of sets and subsets]] | + | * [[Media:SvenTravel.mod|SvenTravel.mod]] Example of sets and subsets |
+ | |||
+ | '''Sparse Optimization and LASSO Examples''' | ||
+ | * [[Media:SparseOpt.mod|SparseOpt.mod]] model file defining the functions. | ||
+ | * [[Media:SparseOpt.dat|SparseOpt.dat]] data file of instance created from Michael Friedlander's [http://www.cs.ubc.ca/~mpf/spgl1/ spgl1 package] | ||
+ | * [[Media:SparseOpt.ampl|SparseOpt.ampl]] AMPL run file looping over the regularization parameter. | ||
+ | * [[Media:lasso6_20_2.dat|lasso6_20_2.dat]] additional data file: 6x20 matrix for 2-sparse vector. | ||
+ | * [[Media:lasso20_100_14.dat|lasso20_100_14.dat]] additional data file 20x100 matrix for 14 sparse vector |
Latest revision as of 18:58, 21 September 2016
Lectures 1 & 2
- Model1.mod A First Simple AMPL Model
- diet.mod Example model from AMPL and diet.dat example data file from AMPL
- SvenTravel.mod Example of sets and subsets
Sparse Optimization and LASSO Examples
- SparseOpt.mod model file defining the functions.
- SparseOpt.dat data file of instance created from Michael Friedlander's spgl1 package
- SparseOpt.ampl AMPL run file looping over the regularization parameter.
- lasso6_20_2.dat additional data file: 6x20 matrix for 2-sparse vector.
- lasso20_100_14.dat additional data file 20x100 matrix for 14 sparse vector