Microsoft Solver Foundation for semi-integer
问题 Is it possible to use the MSF api to specify a variable as semi-integer ( V = 0 , or a <= V <= b )? The following is an example in LP_Solve that uses the "sec" and "int" keywords to indicate the variables are semi-continuous and integer. max: 0.5 Q1 + 0.55 Q2 ; Q1 >= 5; Q1 <= 10 ; Q2 >= 5; Q2 <= 10; Q1 + Q2 <= 10; sec Q1,Q2 ; int Q1,Q2 ; Something similar in MSF would be nice. I note that it is possible to call a Gurobi Plugin DLL within MSF however I cannot find any place in that api to be