Text this: A matrix generation approach for eigenvalue optimization *