Class MRVM_MIP
- java.lang.Object
-
- org.marketdesignresearch.mechlib.winnerdetermination.WinnerDetermination
-
- org.spectrumauctions.sats.opt.model.ModelMIP
-
- org.spectrumauctions.sats.opt.model.mrvm.MRVM_MIP
-
- All Implemented Interfaces:
org.marketdesignresearch.mechlib.instrumentation.MipInstrumentationable,org.marketdesignresearch.mechlib.outcomerules.AllocationRule
public class MRVM_MIP extends ModelMIP
- Author:
- Michael Weiss
-
-
Field Summary
Fields Modifier and Type Field Description static booleanPRINT_SOLVER_RESULT
-
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.AllocationadaptMIPResult(edu.harvard.econcs.jopt.solver.ISolution solution)voidaddConstraint(edu.harvard.econcs.jopt.solver.mip.Constraint constraint)voidaddObjectiveTerm(double coefficient, edu.harvard.econcs.jopt.solver.mip.Variable variable)voidaddVariable(edu.harvard.econcs.jopt.solver.mip.Variable variable)ModelMIPcopyOf()java.util.Map<MRVMBidder,MRVMBidderPartialMIP>getBidderPartialMips()MRVM_MIPgetMIPWithout(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 interestMRVMWorldPartialMipgetWorldPartialMip()java.util.Collection<edu.harvard.econcs.jopt.solver.mip.Variable>getXVariables()-
Methods inherited from class org.spectrumauctions.sats.opt.model.ModelMIP
calculateAllocation, getMIP, join
-
Methods inherited from class org.marketdesignresearch.mechlib.winnerdetermination.WinnerDetermination
getAllocation, getBestAllocations, getBestAllocations, getIntermediateSolutions, getMipInstrumentation, getPurpose, getSolutionPoolMode, getTimeLimit, setAbsolutePoolMode4Tolerance, setAcceptSuboptimal, setDisplayOutput, setEpsilon, setLowerBound, setMipInstrumentation, setPurpose, setRelativePoolMode4Tolerance, setTimeLimit, setTimeLimitPoolMode4, solveWinnerDetermination
-
-
-
-
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:
getMIPWithoutin classModelMIP
-
adaptMIPResult
public org.marketdesignresearch.mechlib.core.Allocation adaptMIPResult(edu.harvard.econcs.jopt.solver.ISolution solution)
- Specified by:
adaptMIPResultin classModelMIP
-
getVariablesOfInterest
protected java.util.Collection<java.util.Collection<edu.harvard.econcs.jopt.solver.mip.Variable>> getVariablesOfInterest()
Description copied from class:ModelMIPModelMIPs have to explicitly set variables of interest- Specified by:
getVariablesOfInterestin classModelMIP
-
getWorldPartialMip
public MRVMWorldPartialMip getWorldPartialMip()
-
getBidderPartialMips
public java.util.Map<MRVMBidder,MRVMBidderPartialMIP> getBidderPartialMips()
-
getXVariables
public java.util.Collection<edu.harvard.econcs.jopt.solver.mip.Variable> getXVariables()
-
-