An optimization problem for the unilateral contact between a pseudoplate and a rigid obstacle is considered. The variable thickness of the pseudoplate plays the role of a control variable. The cost functional is a regular functional only in the smooth case. The existence of an optimal thickness is verified. The penalized optimal control problem is considered in the general case.