Solving the optimization problem of diabetes requires replacement of insulin action through insulin injections or oral medications (applicable primarily to type 2 diabetes) which, until fully automated closed-loop control becomes available, would remain a process largely controlled by patient behavior. This evidence concerns the gene INS and diabetes mellitus.