Learn R Programming

SACOBRA (version 1.2)

defaultRI: Default settings for repairInfeasRI2 and repairChootinan.

Description

Sets suitable defaults for the repair-infeasible part of SACOBRA. With the call setOpts(myRI,defaultRI()) it is possible to extend a partial list myRI to a list containing all ri-elements (the missing ones are taken from defaultRI())

Usage

defaultRI(repairMargin = 0.01)

Arguments

repairMargin

[1e-2] repair only solutions whose infeasibility is less than this margin

Value

a list with the following elements:

RIMODE

[2] one out of {0,1,2,3 } with 0,1: deprecated older versions of RI2, 2: the recommended RI2-case, see repairInfeasRI2, 3: Chootinan's method, see repairChootinan

eps1

[1e-4] include all constraints not eps1-feasible into the repair mechanism

eps2

[1e-4] selects the solution with the shortest shift among all random realizations which are eps2-feasible

q

[3.0] draw coefficients \(\alpha_k\) from uniform distribution \(U[0,q]\)

mmax

[1000] draw mmax random realizations

repairMargin

repair only solutions whose infeasibility is less than this margin.

repairOnlyFresBetter

[FALSE] if TRUE, then repair only iterates with fitness < so-far-best-fitness + marFres

marFres

[0.0] only relevant if repairOnlyFresBetter==TRUE

A solution x is said to be \(\epsilon\)-feasible for constraint function f, if f(x)+\epsilon \le 0

Details

The infeasibility of a solution is its maximum constraint violation (0 for a feasible solution).

See Also

repairInfeasRI2, repairChootinan