Risk management optimization models for nanomanufacturing