public class GRBBatch extends Object implements AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
abort() |
void |
close() |
void |
discard() |
void |
dispose() |
protected void |
finalize() |
int |
get(GRB.IntAttr attr) |
String |
get(GRB.StringAttr attr) |
String |
getJSONSolution() |
void |
retry() |
void |
update() |
void |
writeJSONSolution(String filename) |
public GRBBatch(GRBEnv env, String batchID) throws GRBException
GRBExceptionpublic void writeJSONSolution(String filename) throws GRBException
GRBExceptionpublic String getJSONSolution() throws GRBException
GRBExceptionpublic void update()
throws GRBException
GRBExceptionpublic void abort()
throws GRBException
GRBExceptionpublic void retry()
throws GRBException
GRBExceptionpublic void discard()
throws GRBException
GRBExceptionpublic void dispose()
public void close()
throws GRBException
close in interface AutoCloseableGRBExceptionpublic int get(GRB.IntAttr attr) throws GRBException
GRBExceptionpublic String get(GRB.StringAttr attr) throws GRBException
GRBExceptionCopyright © 2026 Gurobi Optimization, LLC. All rights reserved.