Tags » Pulp

Influences: Edgar Rice Burroughs

Edgar Rice Burroughs (1875-1950) was one of the most prolific writers of all time.  Burroughs was discharged from the military upon the discovery of a heart condition.  268 more words

Before the Golden Age

Many of us who read science fiction were introduced to the genre, knowingly or not, through the authors from the Golden Age.  Essentially, if your foundation in SF comes from Asimov, Heinlein or Clarke, you are a child of the Golden Age (even if you’re no longer a child). 831 more words

New Release Tuesday (13th of November): Women are Fed Up, Black Holes, Lesbian Pulp Fiction and More

It’s new release Tuesday!

I don’t know if you know this, but all books come out on Tuesdays. Yup. So from here on out, Tuesdays are reserved for all the new releases of the day that I think are worth your time and money. 755 more words

Book Blogging

My solution to the Whiskas Problem Using Python+PuLP

rom pulp import *

def bind(list_of_names,list_of_values):
    return dict(zip(list_of_names,list_of_values))

def main():
    whiskas_model=pulp.LpProblem('The Whiskas Problem',LpMinimize)

    # make list of ingredients

    ingredients=['chicken','beef','mutton','rice','wheat','gel']
    cost_values=
    protein_values=
    fat_values=
    fiber_values=
    salt_values=

    #create dictionary of vars
    #names are bound to strings in ingredients list

    x=LpVariable.dict('x_%s',ingredients,lowBound=0)

    cost=bind(ingredients,cost_values)

    whiskas_model+=sum(*x[i] for i in ingredients])

    protein = bind(ingredients,protein_values)
    fat=bind(ingredients,fat_values)
    fiber=bind(ingredients,fiber_values)
    salt=bind(ingredients,salt_values)

    # add the constraints

    whiskas_model+=sum( for i in ingredients]) == 100
    whiskas_model+=sum(*x[i] for i in ingredients]) >= 8.0
    whiskas_model+=sum(*x[i] for i in ingredients]) >= 6.0
    whiskas_model+=sum(*x[i] for i in ingredients])<=2.0
    whiskas_model+=sum(*x[i] for i in ingredients])<=0.4

    whiskas_model.solve()

    for ingredient in ingredients:
        print('The mass of %s is %s grams per can'%(ingredient,x.value())
)
    print('Optimal cost per can :', value(whiskas_model.objective), '$.')

if __name__=="__main__":
    main() 13 more words
PuLP

ARC Review: Pulp by Robin Talley

Pulp by Robin Talley
My rating: 4 of 5 stars

In 1955, eighteen-year-old Janet Jones keeps the love she shares with her best friend Marie a secret.

765 more words
Reviews