Mathematical model and solution method of optimization problem of placement of rectangles and circles taking into account special constraints