Skip to content

Commit

Permalink
removed penalty from linking number in example
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexWiedman committed Nov 2, 2023
1 parent d76c397 commit ec35819
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
+ CS_WEIGHT * Jcsdist \
+ CURVATURE_WEIGHT * sum(Jcs) \
+ MSC_WEIGHT * sum(QuadraticPenalty(J, MSC_THRESHOLD) for J in Jmscs) \
+ QuadraticPenalty(linkNum, 0.1)
+ linkNum

# We don't have a general interface in SIMSOPT for optimisation problems that
# are not in least-squares form, so we write a little wrapper function that we
Expand Down

0 comments on commit ec35819

Please sign in to comment.