Skip to content

Commit

Permalink
small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Huangzizhou committed Oct 11, 2024
1 parent 63d5772 commit 9fe29c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/optimize.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def load_opt_json(path):
parser.add_argument('--E', type=float, default=1e6)
parser.add_argument('--nu', type=float, default=0.3)
parser.add_argument('--no_contact', action='store_true')
parser.add_argument('--dhat', type=float, default=1e-3)
parser.add_argument('--dhat', type=float, default=5e-4)
parser.add_argument('--barrier', type=float, default=-1)

parser.add_argument('--threads', type=int, default=16)
Expand Down Expand Up @@ -327,7 +327,7 @@ def load_opt_json(path):
nu = args.nu
contact = not args.no_contact
dhat = args.dhat
barrier = E if args.barrier <= 0 else args.barrier
barrier = 100 * E if args.barrier <= 0 else args.barrier

folder = "../result/"
if args.no_contact:
Expand Down
1 change: 1 addition & 0 deletions scripts/state-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
"Newton": {
"use_psd_projection": false,
"reg_weight_inc": 100,
"reg_weight_max": 1e16,
"use_psd_projection_in_regularized": false
},
"advanced": {
Expand Down

0 comments on commit 9fe29c2

Please sign in to comment.