O GoConqr está de visual novo! Conte para nós o que você achou.

Flashcards

ATMD

Oliver Boom Spanish Inglês 62 flashcards

ATMD

Flashcards do conjunto (62)

  1. 1Tree of optimizationTree of optimization
  2. 2x f(x) g(x) = 0 h(x) <= 0decision/design variable
    the objective/cost
    equality constraint
    inequality constraint
  3. 3wrapper function.
  4. 4Decision variable scalingtakes vector [0,1] and scales to give values for decision varibles
  5. 5Scaled objectivecost J = objective + penalties for invalidating constraints
    penalties scaled to baseline
    Also arbitary 30* scaling based on judgement
    Scaled objective
  6. 6fmincon what to do after optimize results returnedCheck convergence
    Check rationale
    fmincon what to do after optimize results returned
  7. 7if n = 1 when x is in R^nunivariate problem
    use golden section search
  8. 8how much to shrink a univariate distance bywant same distance each timehow much to shrink a univariate distance by
  9. 9pros/cons with golden sectioncan evaluate numerically
    simple
    robust to continuity
    doesnt find global optimum
  10. 10where x is in the set of R^n where n>1multivariate problem
  11. 11nelder mead simplexmethods moves a simplex around and compares cost at vertices
  12. 12nelder mead simplex processnelder mead simplex process
  13. 13gradient based methodssteepest decent
    newtons method
    variation on newtons method
    conjugate gradient
  14. 14gradient of fThe gradient of a scalar field is a vector
    grad f
  15. 15which direction does the gradient pointin the direction of steepest uphill
    ie. perpendicular to contours
  16. 16for analytical problem for numerical problem problem with numericaldifferentiate the cost
    use perturbations
    large amount of computations
    need to be careful of d
    for analytical problem for numerical problem problem with numerical
  17. 17Steepest descentuse -grad f as search direction
    for a small enough step guaranteed to reduce cost function. don't want to overshoot
    slow convergence
  18. 18how to find step length for steepest descentuse univariate search algorithm. ie use golden section
  19. 19Neccessary conditionsGrad f = 0 yields a set of equations
    must be true at optimum
    may be true elsewhere though
    local
  20. 20Newton RaphsonConverges very quickly
    Erratic
  21. 21Damped Newton MethodsTake the direction of Newton but don't take the whole step
    Line search along the step using either
    backtracking or golden section
    Preferable to steepest descent due to no zigzags
  22. 22The issue with (damped) Newton methodsNeed to find and invert the Hessian matrix
    Difficult and expensive to invert Hessian matrix if not analytical
  23. 23Conjugate gradientModified version of steepest descent. Stops the zigzagging
    Not far behind the backtracking newton but without having to evaluate the Hessian
  24. 24Quasi NewtonStart with H=I
    Update the Hessian^-1 matrix with each iteration
  25. 25Convergence ComparisonConvergence Comparison
  26. 26Convergence Rate Comparison Quadratic LinearThe number of correct decimal places roughly doubles with each step
    Numer of correct dp is proportinal to the number of steps
    Convergence Rate Comparison Quadratic Linear
  27. 27Computation required comparisonComputation required comparison
  28. 28Unbounded problem issueSearch may never finish
    Think about asymptotes
  29. 293 potential termination criteriaNumber of steps
    Cost change
    Step size
  30. 30Newton with backtrackingIs great but the Hessian makes it expensive. Preferable to Golden section as less evaluations
  31. 31For multivariate unconstrained problemsolve the necessary conditions for grad f = 0
  32. 32Equality constraints g(x)Can be non-linear and non-seperate-able
    Cant eliminate via substitution
  33. 33Constraint line and costWhere constraint line is parallel to the contour of the cost is the optimum
  34. 34Solving equality constraintsCan convert equality constraints into unconstrained problems with equivilant solutionsSolving equality constraints
  35. 35Lagrange multipliersLamda
    Have a Lagrange multiplier for each constraint condition
    If multiple then there is a vector of multipliers
  36. 36How to solve equality constriantHow to solve equality constriant
  37. 37Barrier MethodA method that penalizes getting close to the constraint
    for example -log(-h(x)) which climbs to infinity as the equality constraint is approached
  38. 38Barrier method approachsolve equality constraint condition
    if solution not converged decrease mu and repeat
    Barrier method approach
  39. 39What happens for a general non-linear caseAs mu goes to 0 barrier solution approaches true constrained solution
  40. 40Interior Point MethodTransverses around interior set of points in feasible constraint region
    Generally faster and more reliable
    Sequence of subproblems with different barrier levels
  41. 41Active SetSimplex algorithm
    A sequence of subproblems with different constraints
    Better for standard problems e.g LP
    Solution travels along the edges of a feasible set
  42. 42Convex Functionif f(x) and every h(x) are all convexConvex Function
  43. 43Convex Optimum ImplicationConvex optimiser cannot have more than one local optimum
    If an algorithm returns a local optimum for a convex function then it is also the global optimum
  44. 44Discrete OptimizationIf decision variables can only take discrete values
  45. 45Things that can go wrong using local optimizerOnly find local minimum
    Problem is unbounded (no lower limit on cost)
    Problem is infeasible (does not satisfy constraints)
  46. 46Branch and BoundNot quick or easy. Non convex are hard to solve
  47. 47MILPMixed integer linear program
    Takes an LP and constraints some of the values to take only integer values
  48. 48To switch between maximising and minimising a functionfitness = -1 * cost
  49. 49Simulated Annealing MethodSimulated Annealing Method
  50. 50Simulated Annealing Coin TossThe worse a solution is the less likely to get accepted
    Later in the run a worse solution is less likely to be accepted
    Probability of getting heads:
    Simulated Annealing Coin Toss
  51. 51Stochastic methods and constraintsStochastic methods can't handle constraints
    They apply them through a penalty
  52. 52Jump penaltyJump penalty
  53. 53Step penaltyStep penalty
  54. 54Quadratic PenaltyQuadratic Penalty
  55. 55Types of penaltyJump
    Step
    Quadratic
    Ramp
  56. 56Ramp PenaltyRamp Penalty
  57. 57Stochastic pros/consNo assumption about the problem. Only need to be able to evaluate the cost
    Limited constraint handling - need to include penalties
    Easy to implement but need tuning
  58. 58Tuning required for stochastic methods GA SA BothMutation selection, selection, crossover probabilities
    Cooling schedule
    Encoding scheme
  59. 59Hessian MatrixHessian Matrix
  60. 60gradientthe vector whose entries are partial derivatives of the
    objective function with respect to each decision variables?
  61. 61GA methodologyChoose the number of chromosomes
    These are random between upper and lower bounds
    Encode decision variables in each chromosome
    remove poor solutions
    crossover parts of lowest code chromosomes
    random changes made to parts of chromosomes
    go until converged
  62. 62—

Informações

Descrição
Spanish FlashCards sobre ATMD, criado por Oliver Boom em 12-03-2018.
Criado por
Oliver Boom
Visualizações
1
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?