private SolutionParser NeosSubmit(NeosJobXml jobXml)
    {
        String results;
        NeosJob neosJob;
        while ((neosJob = neosClient.submitJob(jobXml.toXMLString())) == null) {
            System.err.println("Error: failed to submit job to NEOS.");
        }
        
        System.out.println("Job ID: " + neosJob.getJobNo());
        System.out.println("Job password: " + neosJob.getJobPass());
        results = neosJob.getResult();
        
        SolutionParser parser = new SolutionParser(results);
        if(parser.getModelStatusCode() != 8 && parser.getModelStatusCode() != 1)
            return null;
        
        return parser;
    }