Solving the Maximum and Minimum Problems of Multivariate Functions
2 views (last 30 days)
Walter Roberson on 30 May 2023
Moved: Walter Roberson on 30 May 2023
No. You have coded finite lower bounds and upper bounds for x3, and you have coded a single region for x1. However your problem as stated has no bounds on x3, and gives two disconnected regions for x1.
fmincon and similar routines cannot handle two disconnected regions for a single variable. You will need to use ga with x1 defined over 10 to 35, and you will need to use nonlinear constraints to reject x1 that are not in either of the two regions.