edu.neu.ccs.util
Class SDGlp

java.lang.Object
  extended by edu.neu.ccs.util.SDGlp

public class SDGlp
extends java.lang.Object

Solving SDG using Linear programming

Author:
Charu Chandra

Constructor Summary
SDGlp(gen.Type type, int n)
           
 
Method Summary
 void writeEqnsToFile(boolean buyer)
          Writes the equations to a file inside result folder with name list_of_relations separated by '_' + "buyer"/"seller" + no_of_vars For example: Relation 170 and 119 with 100 number of variables for a buyer: the file will appear inside result folder as 170_119_buyer_100
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SDGlp

public SDGlp(gen.Type type,
             int n)
Method Detail

writeEqnsToFile

public void writeEqnsToFile(boolean buyer)
                     throws java.io.IOException
Writes the equations to a file inside result folder with name list_of_relations separated by '_' + "buyer"/"seller" + no_of_vars For example: Relation 170 and 119 with 100 number of variables for a buyer: the file will appear inside result folder as 170_119_buyer_100

Parameters:
buyer - - if the equations are for buyer or for seller
Throws:
java.io.IOException