Deck 1 Flashcards
(118 cards)
a set of points is convex if:
0 ≤ α ≤ 1, we have αx + (1 − α)y ∈ C
all points in C can see each other
can include boundary or not
can be bounded or unbounded
difference between cone and subspace
alpha > 0 instead of alpha ∈ R
infinity norm
minimize the largest component
minimizing the max of a function is NOT the same as maximizing the min of a function
absolute values and sums of absolute values are piecewise linear so can use the epigraph trick
min |x| = > min t
st Ax = x
t >= -x
When a system is over-determined, what kind of solution should you look for?
sparse solution
x^t *y
inner product (dot product), produces a scalar
subspace
set of points that satisfy many linear equations (Ax=0)
L1 regularization
LASSO, sparsifying
what is a cone?
αx ∈ C when x ∈ C and α > 0
x + y ∈ C when x ∈ C and y ∈ C
Note: the incidence matrix of A is a property of the graph
it does not depend on which nodes are sources/sinks/relays
True or False, every LP, convex QP, and QCQP are SOCPs
True.
LP - make each A = 0
QP/QCQP -
convert quadratic cost to epigraph form (add a variable)
convert quadratic constraints to SOCP (complete square)
for linear constraints, the set of all x satisfying c^Tx = b is
a hyperplane and the set c^Tx
what is a convex cone?
all slices are convex
polyhedron
set of points that satisfy many linear inequalities
intersection of many half spaces
if m >n, usually no solution. A is tall.
overdetermined
x*y^T
outer product, nxn matrix
a slice of a cone is
its intersection with a subspace
Dual
primal is a maximization, dual is a minimization
there is a dual for each primal constraint
there is a dual constraint for each primal variable
(any feasible primal point)
2-norm
minimize Euclidean norm
A vector-valued function F(x) is linear in x if
if there exists a
constant matrix A such that F(x) = Ax
L2 regularization
smoothing
Primal problem. What is dual?
max c^Tx
sub Ax =0
Dual. what is primal?
minimize b^T*lambda
subj A^Tλ >=c
λ >=0
convert min to max
take the negative min f (x) = − max (−f (x))
simplex algorithm
tranverse the surface of the feasible polyhedron looking for best vertex