Home
last modified time | relevance | path

Searched refs:fixedcost (Results 1 – 11 of 11) sorted by relevance

/dports/math/SCIP/scip-7.0.3/examples/SCFLP/src/
H A Dprobdata_scflp.c145 SCIP_Real* fixedcost; /**< the fixed cost of opening each facility */ member
174 SCIP_Real* fixedcost, /**< the fixed cost of opening a facility */ in createOriginalproblem() argument
245 … SCIP_CALL( SCIPcreateVarBasic(scip, &var, name, 0.0, 1.0, fixedcost[i], SCIP_VARTYPE_BINARY) ); in createOriginalproblem()
329 SCIP_Real* fixedcost, /**< the fixed cost of opening a facility */ in createMasterproblem() argument
367 … SCIP_CALL( SCIPcreateVarBasic(scip, &var, name, 0.0, 1.0, fixedcost[i], SCIP_VARTYPE_BINARY) ); in createMasterproblem()
397 SCIP_Real* fixedcost, /**< the fixed cost of opening a facility */ in createSubproblems() argument
550 SCIP_Real* fixedcost, /**< the fixed cost of opening a facility */ in probdataCreate() argument
607 … SCIP_CALL( SCIPduplicateBlockMemoryArray(scip, &(*probdata)->fixedcost, fixedcost, nfacilities) ); in probdataCreate()
682 SCIPfreeBlockMemoryArray(scip, &(*probdata)->fixedcost, (*probdata)->nfacilities); in probdataFree()
795 SCIP_Real* fixedcost, /**< the fixed cost of opening a facility */ in SCIPprobdataCreate() argument
[all …]
H A Dreader_scflp.c227 SCIP_Real* fixedcost; in SCIP_DECL_READERREAD() local
294 SCIP_CALL( SCIPallocBufferArray(scip, &fixedcost, nfacilities) ); in SCIP_DECL_READERREAD()
299 fixedcost[i] = 0.0; in SCIP_DECL_READERREAD()
322 fixedcost[facility] = facilitycost; in SCIP_DECL_READERREAD()
427 …SCIP_CALL( SCIPprobdataCreate(scip, name, costs, demands, capacity, fixedcost, ncustomers, nfacili… in SCIP_DECL_READERREAD()
443 SCIPfreeBufferArray(scip, &fixedcost); in SCIP_DECL_READERREAD()
H A Dprobdata_scflp.h37 SCIP_Real* fixedcost, /**< the fixed cost of opening a facility */
/dports/multimedia/jmref/JM/lencod/src/
H A Drd_intra_jm_low.c62 distblk fixedcost = weighted_cost(lambda, 4); //(int) floor(4 * lambda ); in mode_decision_for_I4x4_blocks_JM_Low() local
114 cost = (ipmode == mostProbableMode) ? onecost : fixedcost; in mode_decision_for_I4x4_blocks_JM_Low()
187 int fixedcost = (int) weighted_cost(lambda, 4); in mode_decision_for_I8x8_blocks_JM_Low() local
245 cost = fixedcost; in mode_decision_for_I8x8_blocks_JM_Low()
H A Drd_intra_jm444.c309 distblk fixedcost = weighted_cost(lambda, 4); //(int) floor(4 * lambda ); in mode_decision_for_I4x4_blocks_JM_Low444() local
370 cost = (ipmode == mostProbableMode) ? 0 : fixedcost; in mode_decision_for_I4x4_blocks_JM_Low444()
/dports/archivers/maxcso/maxcso-1.10.0/zopfli/src/zopfli/
H A Ddeflate.c540 double fixedcost = (lz77->size > 1000) ? in ZopfliCalculateBlockSizeAutoType() local
543 return (uncompressedcost < fixedcost && uncompressedcost < dyncost) in ZopfliCalculateBlockSizeAutoType()
545 : (fixedcost < dyncost ? fixedcost : dyncost); in ZopfliCalculateBlockSizeAutoType()
679 double fixedcost = ZopfliCalculateBlockSize(lz77, lstart, lend, 1); in AddLZ77BlockAutoType() local
685 int expensivefixed = (lz77->size < 1000) || fixedcost <= dyncost * 1.1; in AddLZ77BlockAutoType()
704 fixedcost = ZopfliCalculateBlockSize(&fixedstore, 0, fixedstore.size, 1); in AddLZ77BlockAutoType()
708 if (uncompressedcost < fixedcost && uncompressedcost < dyncost) { in AddLZ77BlockAutoType()
711 } else if (fixedcost < dyncost) { in AddLZ77BlockAutoType()
/dports/archivers/zopfli/zopfli-zopfli-1.0.3/src/zopfli/
H A Ddeflate.c615 double fixedcost = (lz77->size > 1000) ? in ZopfliCalculateBlockSizeAutoType() local
618 return (uncompressedcost < fixedcost && uncompressedcost < dyncost) in ZopfliCalculateBlockSizeAutoType()
620 : (fixedcost < dyncost ? fixedcost : dyncost); in ZopfliCalculateBlockSizeAutoType()
754 double fixedcost = ZopfliCalculateBlockSize(lz77, lstart, lend, 1); in AddLZ77BlockAutoType() local
760 int expensivefixed = (lz77->size < 1000) || fixedcost <= dyncost * 1.1; in AddLZ77BlockAutoType()
779 fixedcost = ZopfliCalculateBlockSize(&fixedstore, 0, fixedstore.size, 1); in AddLZ77BlockAutoType()
783 if (uncompressedcost < fixedcost && uncompressedcost < dyncost) { in AddLZ77BlockAutoType()
786 } else if (fixedcost < dyncost) { in AddLZ77BlockAutoType()
/dports/archivers/pigz/pigz-2.6/zopfli/src/zopfli/
H A Ddeflate.c616 double fixedcost = (lz77->size > 1000) ? in ZopfliCalculateBlockSizeAutoType() local
619 return (uncompressedcost < fixedcost && uncompressedcost < dyncost) in ZopfliCalculateBlockSizeAutoType()
621 : (fixedcost < dyncost ? fixedcost : dyncost); in ZopfliCalculateBlockSizeAutoType()
755 double fixedcost = ZopfliCalculateBlockSize(lz77, lstart, lend, 1); in AddLZ77BlockAutoType() local
761 int expensivefixed = (lz77->size < 1000) || fixedcost <= dyncost * 1.1; in AddLZ77BlockAutoType()
780 fixedcost = ZopfliCalculateBlockSize(&fixedstore, 0, fixedstore.size, 1); in AddLZ77BlockAutoType()
784 if (uncompressedcost < fixedcost && uncompressedcost < dyncost) { in AddLZ77BlockAutoType()
787 } else if (fixedcost < dyncost) { in AddLZ77BlockAutoType()
/dports/archivers/py-zopfli/zopfli-0.1.9/zopfli/src/zopfli/
H A Ddeflate.c615 double fixedcost = (lz77->size > 1000) ? in ZopfliCalculateBlockSizeAutoType() local
618 return (uncompressedcost < fixedcost && uncompressedcost < dyncost) in ZopfliCalculateBlockSizeAutoType()
620 : (fixedcost < dyncost ? fixedcost : dyncost); in ZopfliCalculateBlockSizeAutoType()
754 double fixedcost = ZopfliCalculateBlockSize(lz77, lstart, lend, 1); in AddLZ77BlockAutoType() local
760 int expensivefixed = (lz77->size < 1000) || fixedcost <= dyncost * 1.1; in AddLZ77BlockAutoType()
779 fixedcost = ZopfliCalculateBlockSize(&fixedstore, 0, fixedstore.size, 1); in AddLZ77BlockAutoType()
783 if (uncompressedcost < fixedcost && uncompressedcost < dyncost) { in AddLZ77BlockAutoType()
786 } else if (fixedcost < dyncost) { in AddLZ77BlockAutoType()
/dports/graphics/apngasm/apngasm-2.91/zopfli/
H A Ddeflate.c615 double fixedcost = (lz77->size > 1000) ? in ZopfliCalculateBlockSizeAutoType() local
618 return (uncompressedcost < fixedcost && uncompressedcost < dyncost) in ZopfliCalculateBlockSizeAutoType()
620 : (fixedcost < dyncost ? fixedcost : dyncost); in ZopfliCalculateBlockSizeAutoType()
754 double fixedcost = ZopfliCalculateBlockSize(lz77, lstart, lend, 1); in AddLZ77BlockAutoType() local
760 int expensivefixed = (lz77->size < 1000) || fixedcost <= dyncost * 1.1; in AddLZ77BlockAutoType()
779 fixedcost = ZopfliCalculateBlockSize(&fixedstore, 0, fixedstore.size, 1); in AddLZ77BlockAutoType()
783 if (uncompressedcost < fixedcost && uncompressedcost < dyncost) { in AddLZ77BlockAutoType()
786 } else if (fixedcost < dyncost) { in AddLZ77BlockAutoType()
/dports/archivers/advancecomp/advancecomp-2.1-6-g7b08f7a/zopfli/
H A Ddeflate.c615 double fixedcost = (lz77->size > 1000) ? in ZopfliCalculateBlockSizeAutoType() local
618 return (uncompressedcost < fixedcost && uncompressedcost < dyncost) in ZopfliCalculateBlockSizeAutoType()
620 : (fixedcost < dyncost ? fixedcost : dyncost); in ZopfliCalculateBlockSizeAutoType()
754 double fixedcost = ZopfliCalculateBlockSize(lz77, lstart, lend, 1); in AddLZ77BlockAutoType() local
760 int expensivefixed = (lz77->size < 1000) || fixedcost <= dyncost * 1.1; in AddLZ77BlockAutoType()
779 fixedcost = ZopfliCalculateBlockSize(&fixedstore, 0, fixedstore.size, 1); in AddLZ77BlockAutoType()
783 if (uncompressedcost < fixedcost && uncompressedcost < dyncost) { in AddLZ77BlockAutoType()
786 } else if (fixedcost < dyncost) { in AddLZ77BlockAutoType()