/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/acro/tpl/3po/cobyla2c/ |
H A D | example.c | 78 xopt[0] = -1.; in main() 79 xopt[1] = 0.; in main() 88 xopt[1] = -xopt[0]; in main() 107 xopt[1] = 1.; in main() 116 xopt[1] = 1.; in main() 126 xopt[1] = xopt[0]; in main() 135 xopt[0] = 0.; in main() 147 xopt[0] = 0.; in main() 148 xopt[1] = 1.; in main() 149 xopt[2] = 2.; in main() [all …]
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/optimization/tests/unit_tests/ |
H A D | karmarkar.tst | 33 [xopt,fopt]=karmarkar(Aeq,beq,c,x0); 39 [xopt,fopt]=karmarkar(Aeq,beq,c,x0,rtolf); 45 [xopt,fopt]=karmarkar(Aeq,beq,c,x0,[],gam); 53 [xopt,fopt,exitflag]=karmarkar(Aeq,beq,c,x0); 59 [xopt,fopt,exitflag,iter]=karmarkar(Aeq,beq,c,x0); 88 xstr = strcat(msprintf("%10.3e\n",xopt)'," ") 228 assert_checkequal ( size(xopt) , [2 1] ); 240 assert_checkalmostequal ( xopt , xstar , 1.e-4 ); 267 assert_checkalmostequal ( xopt , xstar , 1.e-4 ); 531 assert_checkequal ( xopt , [] ); [all …]
|
H A D | karmarkar.dia.ref | 28 [xopt,fopt]=karmarkar(Aeq,beq,c,x0); 34 [xopt,fopt]=karmarkar(Aeq,beq,c,x0,rtolf); 40 [xopt,fopt]=karmarkar(Aeq,beq,c,x0,[],gam); 48 [xopt,fopt,exitflag]=karmarkar(Aeq,beq,c,x0); 54 [xopt,fopt,exitflag,iter]=karmarkar(Aeq,beq,c,x0); 83 xstr = strcat(msprintf("%10.3e\n",xopt)'," ") 223 assert_checkequal ( size(xopt) , [2 1] ); 235 assert_checkalmostequal ( xopt , xstar , 1.e-4 ); 262 assert_checkalmostequal ( xopt , xstar , 1.e-4 ); 523 assert_checkequal ( xopt , [] ); [all …]
|
H A D | optim_sourcefortran2.tst | 93 xopt = .1*bs; 111 if abs(f-1+norm(x-xopt) ) > Leps then pause,end 125 if abs(f-1+norm(x-xopt) ) > Leps then pause, end 127 if abs(f-1+norm(x-xopt) ) > Leps then pause, end 129 if abs(f-1+norm(x-xopt) ) > Leps then pause, end 131 if abs(f-1+norm(x-xopt) ) > Leps then pause, end 133 if abs(f-1+norm(x-xopt) ) > Leps then pause, end 135 if abs(f-1+norm(x-xopt) ) > Leps then pause, end 137 if abs(f-1+norm(x-xopt) ) > Leps then pause, end 140 if abs(f-1+norm(x-xopt) ) > Leps then pause, end [all …]
|
H A D | optim_sourcefortran2.dia.ref | 89 xopt = .1*bs; 106 if abs(f-1+norm(x-xopt) ) > Leps then bugmes();quit;end 119 if abs(f-1+norm(x-xopt) ) > Leps then bugmes();quit;end 121 if abs(f-1+norm(x-xopt) ) > Leps then bugmes();quit;end 123 if abs(f-1+norm(x-xopt) ) > Leps then bugmes();quit;end 125 if abs(f-1+norm(x-xopt) ) > Leps then bugmes();quit;end 127 if abs(f-1+norm(x-xopt) ) > Leps then bugmes();quit;end 129 if abs(f-1+norm(x-xopt) ) > Leps then bugmes();quit;end 131 if abs(f-1+norm(x-xopt) ) > Leps then bugmes();quit;end 134 if abs(f-1+norm(x-xopt) ) > Leps then bugmes();quit;end [all …]
|
H A D | optim_scilabscript.tst | 29 xopt=[1 1]; 48 assert_checkalmostequal ( x , xopt , Leps ); 53 assert_checkalmostequal ( x , xopt , Leps ); 59 assert_checkalmostequal ( x , xopt , Leps ); 64 assert_checkalmostequal ( x , xopt , Leps ); 81 assert_checkalmostequal ( x , xopt , Leps ); 85 assert_checkalmostequal ( x , xopt , Leps ); 100 assert_checkalmostequal ( x , xopt , Leps ); 105 assert_checkalmostequal ( x , xopt , Leps ); 110 assert_checkalmostequal ( x , xopt , Leps ); [all …]
|
/dports/science/py-scipy/scipy-1.7.1/scipy/optimize/tests/ |
H A D | test_tnc.py | 121 xopt = [1, 1] 132 xopt = [1, 1] 139 xopt = [1, 1] 155 xopt = [0, 0] 163 xopt = [1, 0] 179 xopt = [1]*4 196 xopt = [1, 1] 208 xopt = [1, 1] 221 xopt = [1, 1] 246 xopt = [0, 0] [all …]
|
/dports/math/py-statsmodels/statsmodels-0.13.1/statsmodels/base/tests/ |
H A D | test_optimize.py | 71 xopt, retvals = func( 83 xopt, retvals = func( 89 assert_(xopt.shape == () and xopt.size == 1) 91 assert_(len(xopt) == 1) 98 xopt, retvals = func( 110 xopt, retvals = func( 119 assert_(xopt.shape == () and xopt.size == 1) 121 assert_(len(xopt) == 1) 126 xopt, _ = func( 140 assert_almost_equal(xopt, [1.4, 1.7], 4)
|
/dports/math/plplot/plplot-5.15.0/bindings/octave/PLplot/support/ |
H A D | __pl_plenv.m | 107 xopt=""; yopt=""; 109 xopt="bc"; yopt="bc"; 111 xopt="bcnst"; yopt="bcnstv"; 113 xopt="bcnsta"; yopt="bcnstva"; 119 xopt="bcnstl"; yopt="bcnstv"; 121 xopt="bcnstl"; yopt="bcnstva"; 127 xopt="bcnst"; yopt="bcnstvl"; 129 xopt="bcnst"; yopt="bcnstval"; 135 xopt="bcnstl"; yopt="bcnstvl"; 146 xopt = strrep (xopt, "t", ""); variable [all …]
|
/dports/math/plplot-ada/plplot-5.15.0/bindings/octave/PLplot/support/ |
H A D | __pl_plenv.m | 107 xopt=""; yopt=""; 109 xopt="bc"; yopt="bc"; 111 xopt="bcnst"; yopt="bcnstv"; 113 xopt="bcnsta"; yopt="bcnstva"; 119 xopt="bcnstl"; yopt="bcnstv"; 121 xopt="bcnstl"; yopt="bcnstva"; 127 xopt="bcnst"; yopt="bcnstvl"; 129 xopt="bcnst"; yopt="bcnstval"; 135 xopt="bcnstl"; yopt="bcnstvl"; 146 xopt = strrep (xopt, "t", ""); variable [all …]
|
/dports/math/py-statsmodels/statsmodels-0.13.1/statsmodels/base/ |
H A D | optimizer.py | 362 xopt = res.x 372 return xopt, retvals 472 xopt = newparams 475 return xopt, retvals 546 xopt = retvals 549 return xopt, retvals 744 xopt = retvals 817 xopt = retvals 892 xopt = retvals 968 xopt = retvals [all …]
|
/dports/math/py-iohexperimenter/IOHexperimenter-0.2.9.2/src/ |
H A D | coco_transformation.hpp | 11 static std::vector<double> xopt; member in Coco_Transformation_Data 35 transform_vars_shift_evaluate_function(x,Coco_Transformation_Data::xopt); in coco_tranformation_vars() 37 transform_vars_shift_evaluate_function(x,Coco_Transformation_Data::xopt); in coco_tranformation_vars() 40 transform_vars_shift_evaluate_function(x,Coco_Transformation_Data::xopt); in coco_tranformation_vars() 47 transform_vars_shift_evaluate_function(x,Coco_Transformation_Data::xopt); in coco_tranformation_vars() 53 transform_vars_shift_evaluate_function(x,Coco_Transformation_Data::xopt); in coco_tranformation_vars() 58 transform_vars_shift_evaluate_function(x,Coco_Transformation_Data::xopt); in coco_tranformation_vars() 64 transform_vars_shift_evaluate_function(x,Coco_Transformation_Data::xopt); in coco_tranformation_vars() 68 transform_vars_shift_evaluate_function(x,Coco_Transformation_Data::xopt); in coco_tranformation_vars() 72 transform_vars_shift_evaluate_function(x,Coco_Transformation_Data::xopt); in coco_tranformation_vars() [all …]
|
H A D | f_linear_slope.hpp | 33 std::vector<double> xopt; in prepare_problem() local 39 bbob2009_compute_xopt(xopt, rseed, n); in prepare_problem() 43 Coco_Transformation_Data::xopt = xopt; in prepare_problem() 47 if (xopt[i] < 0.0) { in prepare_problem() 67 if (Coco_Transformation_Data::xopt[i] > 0.0) { in internal_evaluate() 73 if (x[i] * Coco_Transformation_Data::xopt[i] < 25.0) { in internal_evaluate() 76 result[0] += 5.0 * fabs(si) - si * Coco_Transformation_Data::xopt[i]; in internal_evaluate()
|
H A D | f_schwefel.hpp | 33 std::vector<double> xopt,tmp1,tmp2; in prepare_problem() local 40 xopt = std::vector<double>(n); in prepare_problem() 44 xopt[i] = (tmp1[i] < 0.5 ? -1 : 1) * 0.5 * 4.2096874637; in prepare_problem() 47 tmp1[i] = -2 * fabs(xopt[i]); in prepare_problem() 48 tmp2[i] = 2 * fabs(xopt[i]); in prepare_problem() 51 Coco_Transformation_Data::xopt = xopt; in prepare_problem()
|
H A D | f_bueche_rastrigin.hpp | 31 std::vector<double> xopt; in prepare_problem() local 37 bbob2009_compute_xopt(xopt, rseed, n); in prepare_problem() 41 xopt[i] = fabs(xopt[i]); in prepare_problem() 44 Coco_Transformation_Data::xopt = xopt; in prepare_problem()
|
H A D | f_lunacek_bi_rastrigin.hpp | 33 std::vector<double> xopt; in prepare_problem() local 44 bbob2009_compute_xopt(xopt, rseed, n); in prepare_problem() 56 xopt[i] = 0.5 * 2.5; in prepare_problem() 58 xopt[i] *= -1.0; in prepare_problem() 61 Coco_Transformation_Data::xopt = xopt; in prepare_problem() 62 IOHprofiler_set_best_variables(xopt); in prepare_problem() 90 if (Coco_Transformation_Data::xopt[i] < 0.) { in internal_evaluate()
|
/dports/lang/mosml/mosml-ver-2.10.1/src/mosmllib/ |
H A D | Option.sig | 19 [getOpt (xopt, d)] returns x if xopt is SOME x; returns d otherwise. 21 [isSome vopt] returns true if xopt is SOME x; returns false otherwise. 23 [valOf vopt] returns x if xopt is SOME x; raises Option otherwise. 27 [map f xopt] returns SOME (f x) if xopt is SOME x; returns NONE otherwise. 29 [app f xopt] applies f to x if xopt is SOME x; does nothing otherwise. 31 [join xopt] returns x if xopt is SOME x; returns NONE otherwise. 36 [mapPartial f xopt] returns f x if xopt is SOME x; returns NONE otherwise.
|
/dports/math/ccmath/ccmath-2.2.1/roots/test/ |
H A D | toptsch.c | 18 { double xopt,dx; in main() local 22 xopt=optsch(ft,0.,3.14159,1.e-14); in main() 23 printf(" minimum at x = %10.6f\n",xopt); in main() 25 printf(" test: f(x)= %e\n",ft(xopt)); in main() 26 printf(" f(x+.0001)= %e\n",ft(xopt+dx)); in main() 27 printf(" f(x-.0001)= %e\n",ft(xopt-dx)); in main()
|
/dports/graphics/optipng/optipng-0.7.7/src/optipng/ |
H A D | optipng.c | 483 const char *xopt; in parse_args() local 634 if (xopt == NULL) in parse_args() 638 xopt = argv[i]; in parse_args() 645 xopt = ""; in parse_args() 653 if (xopt != NULL) in parse_args() 718 if (xopt[0] == 0) in parse_args() 720 options.out_name = xopt; in parse_args() 727 if (xopt[0] == 0) in parse_args() 729 options.dir_name = xopt; in parse_args() 736 if (xopt[0] == 0) in parse_args() [all …]
|
/dports/math/py-cma/cma-3.1.0/cma/ |
H A D | bbobbenchmarks.py | 199 idx = (xopt == 0) 200 xopt[idx] = -1e-5 201 return xopt 526 def _setxopt(self, xopt): argument 528 self._xopt = xopt 643 self.xopt = zeros(dim) 731 self.xopt = zeros(dim) 777 self.xopt = zeros(dim) 829 self.xopt = zeros(dim) 832 self.xopt[:min(dim, self.maxindex):2] = abs(self.xopt[:min(dim, self.maxindex):2]) [all …]
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/optimization/tests/nonreg_tests/ |
H A D | bug_9208.tst | 35 [fopt, xopt, w, g, iters, evals, err] = optim ( costf , x0 ); 38 [fopt, xopt, w, g, iters, evals, err] = optim ( costf , x0 , "ar",nap=5 ); 41 [fopt, xopt, w, g, iters, evals, err] = optim ( costf , x0 , "ar",nap=100,iter=5 ); 55 [fopt, xopt, w, g, iters, evals, err] = optim ( rosenbrockCost2FixedStep , x0 ); 57 assert_checkalmostequal(xopt,[1,1]) 61 [fopt, xopt, w, g, iters, evals, err] = optim ( rosenbrockCost2FixedStep , x0 , "ar",nap=10 ); 64 [fopt, xopt, w, g, iters, evals, err] = optim ( rosenbrockCost2FixedStep , x0 , "ar",nap=100,iter=1… 77 [fopt, xopt, w, g, iters, evals, err] = optim ( rosenbrockCost2VariableStep , x0 ); 80 [fopt, xopt, w, g, iters, evals, err] = optim ( rosenbrockCost2VariableStep , x0 , "ar",nap=10 ); 83 [fopt, xopt, w, g, iters, evals, err] = optim ( rosenbrockCost2VariableStep , x0 , "ar",nap=100,ite…
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/optimization/tests/unit_tests/neldermead/ |
H A D | neldermead_searchfixed.tst | 28 xopt = neldermead_get(nm,"-xopt"); 29 assert_checkalmostequal ( xopt , [0.0;0.0], 1e-6 ); 45 xopt = neldermead_get(nm,"-xopt"); 46 assert_checkalmostequal ( xopt , [0.0;0.0], 1e-6 ); 63 xopt = neldermead_get(nm,"-xopt"); 64 assert_checkalmostequal ( xopt , [0.0;0.0], 1e-6 ); 88 xopt = neldermead_get(nm,"-xopt"); 89 assert_checkalmostequal ( xopt , [1.0;1.0], 1e1 );
|
H A D | neldermead_mckinnon.tst | 134 xopt = neldermead_get(nm,"-xopt"); 135 assert_checkalmostequal ( xopt , [0.0;0.0], 1e-6 ); 160 xopt = neldermead_get(nm,"-xopt"); 208 xopt = neldermead_get(nm,"-xopt"); 239 xopt = neldermead_get(nm,"-xopt"); 273 xopt = neldermead_get(nm,"-xopt"); 307 xopt = neldermead_get(nm,"-xopt"); 342 xopt = neldermead_get(nm,"-xopt"); 373 xopt = neldermead_get(nm,"-xopt"); 402 xopt = neldermead_get(nm,"-xopt"); [all …]
|
H A D | neldermead_mckinnon.dia.ref | 122 xopt = neldermead_get(nm,"-xopt"); 123 assert_checkalmostequal ( xopt , [0.0;0.0], 1e-6 ); 146 xopt = neldermead_get(nm,"-xopt"); 192 xopt = neldermead_get(nm,"-xopt"); 222 xopt = neldermead_get(nm,"-xopt"); 255 xopt = neldermead_get(nm,"-xopt"); 288 xopt = neldermead_get(nm,"-xopt"); 322 xopt = neldermead_get(nm,"-xopt"); 352 xopt = neldermead_get(nm,"-xopt"); 380 xopt = neldermead_get(nm,"-xopt"); [all …]
|
/dports/science/pybrain/pybrain-0.3.3/pybrain/rl/environments/functions/ |
H A D | function.py | 20 xopt = None variable in FunctionEnvironment 29 …def __init__(self, xdim = None, xopt = None, xbound=5, feasible=True, constrained=False, violation… argument 40 if xopt is None: 41 self.xopt = zeros(self.xdim) 43 self.xopt = xopt
|