Changeset 555
- Timestamp:
- 09/09/12 12:54:01 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UQ/math/sausage/TEST_OUQ_StStSurr.py
r553 r555 49 49 solver = DifferentialEvolutionSolver2(ndim,npop) 50 50 solver.SetRandomInitialPoints(min=lb,max=ub) 51 #solver.SetStrictRanges(min=lb,max=ub)51 solver.SetStrictRanges(min=lb,max=ub) 52 52 solver.SetEvaluationLimits(maxiter,maxfun) 53 53 solver.SetEvaluationMonitor(evalmon) … … 217 217 + (ny * w_upper) + (ny * a_upper) \ 218 218 + (nz * w_upper) + (nz * v_upper) \ 219 + (_n * Y_ lower)219 + (_n * Y_upper) 220 220 bounds = (lower_bounds,upper_bounds) 221 221 … … 275 275 print "fails valid wrt model:\n%s" % c.valid_wrt_model(model, xtol=Cx, \ 276 276 tol=Cy, blamelist=True) 277 print "mean(y): %s >= %s" % (str( c.get_mean_value() ), y_mean )277 print "mean(y): %s >= %s" % (str( c.get_mean_value() ), y_mean - y_mean_error) 278 278 print "sum_wts: %s == 1.0" % [sum(w) for w in c.wts] 279 279 from OUQPolytopeTools import UniformDistanceToModel
Note: See TracChangeset
for help on using the changeset viewer.