Linear Program Construction Using Metamodeling