Class MRVM_MIP

  • All Implemented Interfaces:
    org.marketdesignresearch.mechlib.instrumentation.MipInstrumentationable, org.marketdesignresearch.mechlib.outcomerules.AllocationRule

    public class MRVM_MIP
    extends ModelMIP
    Author:
    Michael Weiss
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.marketdesignresearch.mechlib.winnerdetermination.WinnerDetermination

        org.marketdesignresearch.mechlib.winnerdetermination.WinnerDetermination.PoolMode
    • Constructor Summary

      Constructors 
      Constructor Description
      MRVM_MIP​(java.util.Collection<MRVMBidder> bidders)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.marketdesignresearch.mechlib.core.Allocation adaptMIPResult​(edu.harvard.econcs.jopt.solver.ISolution solution)  
      void addConstraint​(edu.harvard.econcs.jopt.solver.mip.Constraint constraint)  
      void addObjectiveTerm​(double coefficient, edu.harvard.econcs.jopt.solver.mip.Variable variable)  
      void addVariable​(edu.harvard.econcs.jopt.solver.mip.Variable variable)  
      ModelMIP copyOf()  
      java.util.Map<MRVMBidder,​MRVMBidderPartialMIP> getBidderPartialMips()  
      MRVM_MIP getMIPWithout​(org.marketdesignresearch.mechlib.core.bidder.Bidder bidder)  
      protected java.util.Collection<java.util.Collection<edu.harvard.econcs.jopt.solver.mip.Variable>> getVariablesOfInterest()
      ModelMIPs have to explicitly set variables of interest
      MRVMWorldPartialMip getWorldPartialMip()  
      java.util.Collection<edu.harvard.econcs.jopt.solver.mip.Variable> getXVariables()  
      • Methods inherited from class org.marketdesignresearch.mechlib.winnerdetermination.WinnerDetermination

        getAllocation, getBestAllocations, getBestAllocations, getIntermediateSolutions, getMipInstrumentation, getPurpose, getSolutionPoolMode, setAbsolutePoolMode4Tolerance, setAcceptSuboptimal, setDisplayOutput, setEpsilon, setLowerBound, setMipInstrumentation, setPurpose, setRelativePoolMode4Tolerance, setTimeLimit, setTimeLimitPoolMode4, solveWinnerDetermination
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • PRINT_SOLVER_RESULT

        public static boolean PRINT_SOLVER_RESULT
    • Constructor Detail

      • MRVM_MIP

        public MRVM_MIP​(java.util.Collection<MRVMBidder> bidders)
    • Method Detail

      • addConstraint

        public void addConstraint​(edu.harvard.econcs.jopt.solver.mip.Constraint constraint)
      • addVariable

        public void addVariable​(edu.harvard.econcs.jopt.solver.mip.Variable variable)
      • addObjectiveTerm

        public void addObjectiveTerm​(double coefficient,
                                     edu.harvard.econcs.jopt.solver.mip.Variable variable)
      • getMIPWithout

        public MRVM_MIP getMIPWithout​(org.marketdesignresearch.mechlib.core.bidder.Bidder bidder)
        Specified by:
        getMIPWithout in class ModelMIP
      • adaptMIPResult

        public org.marketdesignresearch.mechlib.core.Allocation adaptMIPResult​(edu.harvard.econcs.jopt.solver.ISolution solution)
        Specified by:
        adaptMIPResult in class ModelMIP
      • getVariablesOfInterest

        protected java.util.Collection<java.util.Collection<edu.harvard.econcs.jopt.solver.mip.Variable>> getVariablesOfInterest()
        Description copied from class: ModelMIP
        ModelMIPs have to explicitly set variables of interest
        Specified by:
        getVariablesOfInterest in class ModelMIP
      • getXVariables

        public java.util.Collection<edu.harvard.econcs.jopt.solver.mip.Variable> getXVariables()