Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | 5x 5x 5x 5x 5x 5x 5x 5x 5x 5x 5x 5x 5x 1x 1x 1x | // @ts-check
export { cp, lp } from "./jia/index.js";
export { planning } from "./pddl/index.js";
export { FeasblClient, filesToInputs, inferKind } from "./client.js";
/**
* Submit a generated model to Feasbl using a one-shot client.
* @param {import("./client.js").FileBackedModel} model Object exposing `toFiles()`.
* @param {import("./client.js").SubmitOptions & import("./client.js").ClientOptions} options Client and job options.
* @returns {Promise<import("./client.js").SubmitResult>}
*/
export async function solve(model, options) {
const { FeasblClient } = await import("./client.js");
return new FeasblClient(options).submit(model, options);
}
|