>> sol = optimize([F,-100 <= [c;cw;cg] <= 100],[],sdpsettings('verbose',1,'solver','bmibnb','bmibnb.upper','none'),[c;cw;cg])
-------------------------------------------------------------------------
YALMIP SOS module started...
-------------------------------------------------------------------------
Detected 115 parametric variables and 1 independent variables.
Detected 0 linear inequalities, 0 equality constraints and 0 LMIs.
Using image representation (options.sos.model=2). Nonlinear parameterization found
Initially 2 monomials in R^1
Newton polytope (0 LPs).........Keeping 2 monomials (0sec)
Finding symmetries..............Found no symmetries (0sec)
Initially 4 monomials in R^1
Newton polytope (0 LPs).........Keeping 4 monomials (0sec)
Finding symmetries..............Found no symmetries (0sec)
Initially 5 monomials in R^1
Newton polytope (0 LPs).........Keeping 5 monomials (0sec)
Finding symmetries..............Found no symmetries (0sec)
* Starting YALMIP global branch & bound.
* Branch-variables : 10
* Upper solver : none
* Lower solver : SDPT3
* LP solver : GUROBI
Node Upper Gap(%) Lower Open
1 : Inf NaN 0.000E+00 2 Numerical problems in lower bound solver
2 : Inf NaN 0.000E+00 3 Numerical problems in lower bound solver
3 : Inf NaN 0.000E+00 4 Numerical problems in lower bound solver
4 : Inf NaN 0.000E+00 5 Numerical problems in lower bound solver
5 : Inf NaN 0.000E+00 4 Infeasible
6 : Inf NaN 0.000E+00 5 Numerical problems in lower bound solver
7 : Inf NaN 0.000E+00 4 Infeasible
8 : Inf NaN 0.000E+00 5 Numerical problems in lower bound solver
9 : Inf NaN 0.000E+00 4 Infeasible
10 : Inf NaN 0.000E+00 5 Numerical problems in lower bound solver
11 : Inf NaN 0.000E+00 4 Infeasible
12 : 0.000E+00 0.00 -1.000E-10 5 Numerical problems in lower bound solver | Improved solution
* Finished. Cost: 0 Gap: 1e-08
* Timing: 0% spent in upper solver (0 problems solved)
* 33% spent in lower solver (32 problems solved)
* 13% spent in LP-based domain reduction (2728 problems solved)
sol =
yalmiptime: 1.0430
solvertime: 56.6000
info: 'Successfully solved (BMIBNB)'
problem: 0
>> value(c)
ans =
0.0000
0.0000
55.0732
-1.4548
>> value(cg)
ans =
-2.5367
4.9022
-1.9647
>> value(cw)
ans =
20.9232
0.8694
11.5864
0.6389
11.3103
0.8951
19.9451