naive complex type for optimization