Skip to content

Commit 991107d

Browse files
committed
removed: useless prints
1 parent b7c6039 commit 991107d

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/ModelPredictiveControl.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ using SparseMatrixColorings: GreedyColoringAlgorithm, sparsity_pattern
1818
using SparseMatrixColorings: NaturalOrder, LargestFirst, SmallestLast
1919
using SparseMatrixColorings: IncidenceDegree, DynamicLargestFirst, RandomOrder
2020

21-
using SparseMatrixColorings: ncolors
22-
2321
import ProgressLogging
2422

2523
import ForwardDiff

src/controller/nonlinmpc.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -663,8 +663,6 @@ function get_nonlinobj_op(mpc::NonLinMPC, optim::JuMP.GenericModel{JNT}) where J
663663
∇²J_prep = prepare_hessian(J!, hess, Z̃_J, J_cache...; strict)
664664
∇²J = init_diffmat(JNT, hess, ∇²J_prep, nZ̃, nZ̃)
665665
∇²J_structure = lowertriangle_indices(init_diffstructure(∇²J))
666-
@show ncolors(∇²J_prep)
667-
display(sparsity_pattern(∇²J_prep))
668666
end
669667
update_objective! = if !isnothing(hess)
670668
function (J, ∇J, ∇²J, Z̃_J, Z̃_arg)

0 commit comments

Comments
 (0)