Returns the solution for the given lp, solving it internally using the "glpkAPI" package Simplex algorithm
1 | solver.solveAndGetSolution.glpk.internal.nomip(lp.glpk, solverConfig)
|
1 2 3 4 | lp.glpk = initProbGLPK()
readLPGLPK(lp.glpk, fname="glpkAPI.lp")
solverConfig = list(name = "glpk", external = F, mipGap = 0.0001, timeout = 1000, verbose = T)
solution.glpk = solver.solveAndGetSolution.glpk.internal(lp.glpk, solverConfig)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.