You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
344 B
18 lines
344 B
/* spxsamp1.c */
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <glpk.h>
|
|
|
|
int main(void)
|
|
{ glp_prob *P;
|
|
P = glp_create_prob();
|
|
glp_read_mps(P, GLP_MPS_DECK, NULL, "25fv47.mps");
|
|
glp_adv_basis(P, 0);
|
|
glp_simplex(P, NULL);
|
|
glp_print_sol(P, "25fv47.txt");
|
|
glp_delete_prob(P);
|
|
return 0;
|
|
}
|
|
|
|
/* eof */
|