Skip to content

Commit

Permalink
Remove comment #2
Browse files Browse the repository at this point in the history
  • Loading branch information
mfalt authored Jan 17, 2018
1 parent a29a58c commit 53b7448
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions test/auxilliary_test_fcns.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,6 @@
circle_segment(N) = sin.(acos.(linspace(-1, 1, N)))
linear_trend(N) = (0:N-1)

# function get_transition_costs(g, t; tol=1e-3)
# ℓ = TransitionCostContinuous{Float64}(g, t, tol=tol)
# V_N = zero(QuadraticPolynomial{Float64})
# return ℓ, V_N
# end
# function get_transition_costs(g::AbstractArray, t; tol=1e-3)
# ℓ = compute_discrete_transition_costs(g, t)
# V_N = QuadraticPolynomial(1.0, -2*g[t[end]], g[t[end]]^2)
# return ℓ, V_N
# end



""" brute_force_multi(g, M, t=1:length(g); tol=1e-3)
Finds the solution to the cardinality constrained problem for
m=1:M segments using brute force with possible breakpoints on grid t.
Expand Down

0 comments on commit 53b7448

Please sign in to comment.