I am sorry. Please find the proper code below. GUROBI and fmincon does not support polynomial constraints so ran with bmibnb.
* Starting YALMIP global branch & bound.
* Upper solver : fmincon
* Lower solver : GUROBI
* LP solver : GUROBI
* -Extracting bounds from model
* -Perfoming root-node bound propagation
* -Calling upper solver Warning: Matrix is close to singular
or badly scaled. Results may be
inaccurate. RCOND = 7.890194e-19.
> In backsolveSys
In solveKKTsystem
In computeTrialStep
In barrier
In fmincon (line 848)
In callfmincon (line 95)
In global_solve_upper (line 84)
In solve_upper_in_node (line 9)
In bmibnb (line 214)
In solvesdp (line 371)
In optimize (line 31)
In test (line 68)
Warning: Matrix is close to singular
or badly scaled. Results may be
inaccurate. RCOND = 1.091001e-20.
> In backsolveSys
In solveKKTsystem
In computeTrialStep
In barrier
In fmincon (line 848)
In callfmincon (line 95)
In global_solve_upper (line 84)
In solve_upper_in_node (line 9)
In bmibnb (line 214)
In solvesdp (line 371)
In optimize (line 31)
In test (line 68)
Warning: Matrix is close to singular
or badly scaled. Results may be
inaccurate. RCOND = 5.444503e-20.
> In backsolveSys
In solveKKTsystem
In computeTrialStep
In barrier
In fmincon (line 848)
In callfmincon (line 95)
In global_solve_upper (line 84)
In solve_upper_in_node (line 9)
In bmibnb (line 214)
In solvesdp (line 371)
In optimize (line 31)
In test (line 68)
Warning: Matrix is close to singular
or badly scaled. Results may be
inaccurate. RCOND = 6.679043e-22.
> In backsolveSys
In solveKKTsystem
In computeTrialStep
In barrier
In fmincon (line 848)
In callfmincon (line 95)
In global_solve_upper (line 84)
In solve_upper_in_node (line 9)
In bmibnb (line 214)
In solvesdp (line 371)
In optimize (line 31)
In test (line 68)
Warning: Matrix is close to singular
or badly scaled. Results may be
inaccurate. RCOND = 5.904115e-23.
> In backsolveSys
In solveKKTsystem
In computeTrialStep
In barrier
In fmincon (line 848)
In callfmincon (line 95)
In global_solve_upper (line 84)
In solve_upper_in_node (line 9)
In bmibnb (line 214)
In solvesdp (line 371)
In optimize (line 31)
In test (line 68)
Warning: Matrix is close to singular
or badly scaled. Results may be
inaccurate. RCOND = 5.248643e-21.
> In backsolveSys
In solveKKTsystem
In computeTrialStep
In barrier
In fmincon (line 848)
In callfmincon (line 95)
In global_solve_upper (line 84)
In solve_upper_in_node (line 9)
In bmibnb (line 214)
In solvesdp (line 371)
In optimize (line 31)
In test (line 68)
Warning: Matrix is close to singular
or badly scaled. Results may be
inaccurate. RCOND = 5.993699e-21.
> In backsolveSys
In solveKKTsystem
In computeTrialStep
In barrier
In fmincon (line 848)
In callfmincon (line 95)
In global_solve_upper (line 84)
In solve_upper_in_node (line 9)
In bmibnb (line 214)
In solvesdp (line 371)
In optimize (line 31)
In test (line 68)
Warning: Matrix is close to singular
or badly scaled. Results may be
inaccurate. RCOND = 3.013660e-21.
> In backsolveSys
In solveKKTsystem
In computeTrialStep
In barrier
In fmincon (line 848)
In callfmincon (line 95)
In global_solve_upper (line 84)
In solve_upper_in_node (line 9)
In bmibnb (line 214)
In solvesdp (line 371)
In optimize (line 31)
In test (line 68)
Warning: Matrix is close to singular
or badly scaled. Results may be
inaccurate. RCOND = 5.433079e-22.
> In backsolveSys
In solveKKTsystem
In computeTrialStep
In barrier
In fmincon (line 848)
In callfmincon (line 95)
In global_solve_upper (line 84)
In solve_upper_in_node (line 9)
In bmibnb (line 214)
In solvesdp (line 371)
In optimize (line 31)
In test (line 68)
Warning: Matrix is close to singular
or badly scaled. Results may be
inaccurate. RCOND = 2.647184e-23.
> In backsolveSys
In solveKKTsystem
In computeTrialStep
In barrier
In fmincon (line 848)
In callfmincon (line 95)
In global_solve_upper (line 84)
In solve_upper_in_node (line 9)
In bmibnb (line 214)
In solvesdp (line 371)
In optimize (line 31)
In test (line 68)
Warning: Matrix is close to singular
or badly scaled. Results may be
inaccurate. RCOND = 2.647184e-23.
> In backsolveSys
In solveKKTsystem
In computeTrialStep
In barrier
In fmincon (line 848)
In callfmincon (line 95)
In global_solve_upper (line 84)
In solve_upper_in_node (line 9)
In bmibnb (line 214)
In solvesdp (line 371)
In optimize (line 31)
In test (line 68)
(no solution found)
* -Branch-variables : 8
* -More root-node bound-propagation
* -Performing LP-based bound-propagation
* -And some more root-node bound-propagation
* Timing: 93% spent in upper solver (1 problems solved)
* 0% spent in lower solver (0 problems solved)
* 1% spent in LP-based domain reduction (1 problems solved)
* 0% spent in upper heuristics (0 candidates tried)