Skip to content

Commit 9fe29c2

Browse files
committed
small changes
1 parent 63d5772 commit 9fe29c2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

scripts/optimize.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ def load_opt_json(path):
245245
parser.add_argument('--E', type=float, default=1e6)
246246
parser.add_argument('--nu', type=float, default=0.3)
247247
parser.add_argument('--no_contact', action='store_true')
248-
parser.add_argument('--dhat', type=float, default=1e-3)
248+
parser.add_argument('--dhat', type=float, default=5e-4)
249249
parser.add_argument('--barrier', type=float, default=-1)
250250

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

332332
folder = "../result/"
333333
if args.no_contact:

scripts/state-1.json

+1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
"Newton": {
6464
"use_psd_projection": false,
6565
"reg_weight_inc": 100,
66+
"reg_weight_max": 1e16,
6667
"use_psd_projection_in_regularized": false
6768
},
6869
"advanced": {

0 commit comments

Comments
 (0)