Jump to content
Change search PrimeFaces.cw("Fieldset","widget_formSmash_search",{id:"formSmash:search",widgetVar:"widget_formSmash_search",toggleable:true,collapsed:true,toggleSpeed:500,behaviors:{toggle:function(ext) {PrimeFaces.ab({s:"formSmash:search",e:"toggle",f:"formSmash",p:"formSmash:search"},ext);}}});
$(function(){PrimeFaces.cw("Dialog","citationDialog",{id:"formSmash:upper:j_idt244",widgetVar:"citationDialog",width:"800",height:"600"});});
$(function(){PrimeFaces.cw("ImageSwitch","widget_formSmash_j_idt1240",{id:"formSmash:j_idt1240",widgetVar:"widget_formSmash_j_idt1240",fx:"fade",speed:500,timeout:8000},"imageswitch");});
#### Open Access in DiVA

####

#### Search in DiVA

##### By author/editor

Hast, Gustav
##### By organisation

Numerical Analysis and Computer Science, NADA
On the subject

Computer Sciences
#### Search outside of DiVA

GoogleGoogle Scholar$(function(){PrimeFaces.cw('Chart','widget_formSmash_j_idt1463_0_downloads',{id:'formSmash:j_idt1463:0:downloads',type:'bar',responsive:true,data:[[2,2,4,5,6,5,4,6,8,2]],title:"Downloads of File (FULLTEXT01)",axes:{yaxis: {label:"",min:0,max:20,renderer:$.jqplot.LinearAxisRenderer,tickOptions:{angle:0}},xaxis: {label:"",renderer:$.jqplot.CategoryAxisRenderer,tickOptions:{angle:-90}}},series:[{label:'diva2:7927'}],ticks:["Dec -23","Jan -24","Feb -24","Mar -24","Apr -24","May -24","Jun -24","Jul -24","Aug -24","Sep -24"],orientation:"vertical",barMargin:3,datatip:true,datatipFormat:"<span style=\"display:none;\">%2$d</span><span>%2$d</span>"},'charts');}); Total: 862 downloads$(function(){PrimeFaces.cw("OverlayPanel","widget_formSmash_j_idt1466",{id:"formSmash:j_idt1466",widgetVar:"widget_formSmash_j_idt1466",target:"formSmash:downloadLink",showEvent:"mousedown",hideEvent:"mousedown",showEffect:"blind",hideEffect:"fade"});}); findCitings = function() {PrimeFaces.ab({s:"formSmash:j_idt1468",f:"formSmash",u:"formSmash:citings",pa:arguments[0]});};$(function() {findCitings();}); $(function(){PrimeFaces.cw('Chart','widget_formSmash_visits',{id:'formSmash:visits',type:'bar',responsive:true,data:[[1,6,2,10,2,6,5,9,6,10]],title:"Visits for this publication",axes:{yaxis: {label:"",min:0,max:20,renderer:$.jqplot.LinearAxisRenderer,tickOptions:{angle:0}},xaxis: {label:"",renderer:$.jqplot.CategoryAxisRenderer,tickOptions:{angle:-90}}},series:[{label:'diva2:7927'}],ticks:["Sep -23","Oct -23","Dec -23","Mar -24","Apr -24","May -24","Jun -24","Jul -24","Aug -24","Sep -24"],orientation:"vertical",barMargin:3,datatip:true,datatipFormat:"<span style=\"display:none;\">%2$d</span><span>%2$d</span>"},'charts');}); Total: 1140 hits
$(function(){PrimeFaces.cw("Dialog","citationDialog",{id:"formSmash:lower:j_idt1591",widgetVar:"citationDialog",width:"800",height:"600"});});

CiteExport$(function(){PrimeFaces.cw("TieredMenu","widget_formSmash_upper_j_idt221",{id:"formSmash:upper:j_idt221",widgetVar:"widget_formSmash_upper_j_idt221",autoDisplay:true,overlay:true,my:"left top",at:"left bottom",trigger:"formSmash:upper:exportLink",triggerEvent:"click"});}); $(function(){PrimeFaces.cw("OverlayPanel","widget_formSmash_upper_j_idt222_j_idt224",{id:"formSmash:upper:j_idt222:j_idt224",widgetVar:"widget_formSmash_upper_j_idt222_j_idt224",target:"formSmash:upper:j_idt222:permLink",showEffect:"blind",hideEffect:"fade",my:"right top",at:"right bottom",showCloseIcon:true});});

Beating a Random Assignment: Approximating Constraint Satisfaction ProblemsPrimeFaces.cw("AccordionPanel","widget_formSmash_some",{id:"formSmash:some",widgetVar:"widget_formSmash_some",multiple:true}); PrimeFaces.cw("AccordionPanel","widget_formSmash_all",{id:"formSmash:all",widgetVar:"widget_formSmash_all",multiple:true});
function selectAll()
{
var panelSome = $(PrimeFaces.escapeClientId("formSmash:some"));
var panelAll = $(PrimeFaces.escapeClientId("formSmash:all"));
panelAll.toggle();
toggleList(panelSome.get(0).childNodes, panelAll);
toggleList(panelAll.get(0).childNodes, panelAll);
}
/*Toggling the list of authorPanel nodes according to the toggling of the closeable second panel */
function toggleList(childList, panel)
{
var panelWasOpen = (panel.get(0).style.display == 'none');
// console.log('panel was open ' + panelWasOpen);
for (var c = 0; c < childList.length; c++) {
if (childList[c].classList.contains('authorPanel')) {
clickNode(panelWasOpen, childList[c]);
}
}
}
/*nodes have styleClass ui-corner-top if they are expanded and ui-corner-all if they are collapsed */
function clickNode(collapse, child)
{
if (collapse && child.classList.contains('ui-corner-top')) {
// console.log('collapse');
child.click();
}
if (!collapse && child.classList.contains('ui-corner-all')) {
// console.log('expand');
child.click();
}
}
2005 (English)Doctoral thesis, monograph (Other scientific)
##### Abstract [en]

##### Place, publisher, year, edition, pages

Stockholm: KTH , 2005. , p. x, 102
##### Series

Trita-NA, ISSN 0348-2952 ; 0513
##### Keywords [sv]

Datalogi
##### National Category

Computer Sciences
##### Identifiers

URN: urn:nbn:se:kth:diva-215ISBN: 91-7178-051-3 (print)OAI: oai:DiVA.org:kth-215DiVA, id: diva2:7927
##### Public defence

2005-06-14, E3, Osquars backe 14, Stockholm, 14:15
##### Opponent

PrimeFaces.cw("AccordionPanel","widget_formSmash_j_idt587",{id:"formSmash:j_idt587",widgetVar:"widget_formSmash_j_idt587",multiple:true});
##### Supervisors

PrimeFaces.cw("AccordionPanel","widget_formSmash_j_idt594",{id:"formSmash:j_idt594",widgetVar:"widget_formSmash_j_idt594",multiple:true});
#####

PrimeFaces.cw("AccordionPanel","widget_formSmash_j_idt601",{id:"formSmash:j_idt601",widgetVar:"widget_formSmash_j_idt601",multiple:true});
##### Note

QC 20101020Available from: 2005-05-24 Created: 2005-05-24 Last updated: 2022-06-23Bibliographically approved

An instance of a Boolean constraint satisfaction problem, CSP, consists of a set of constraints acting over a set of Boolean variables. The objective is to find an assignment to the variables that satisfies all the constraints. In the maximization version, Max CSP, each constraint has a weight and the objective is to find an assignment such that the weight of satisfied constraints is maximized. By specifying which types of constraints that are allowed we create subproblems to Max CSP. For example, an instance of Max kCSP only contains constraints that act over at most k different variables. Another problem is Max CSP(P), where P is a predicate, i.e., a Boolean function. In such an instance P is used to determine if a constraint is satisfied or not.

Both Max kCSP and Max CSP(P) are NP-hard to solve optimally for k ≥ 2 and predicates P that depend on at least two input values. Therefore, we consider efficient approximation algorithms for these two problems. A trivial algorithm is to assign all variables a random value. Somewhat surprisingly, Håstad showed that using this random assignment approach is essentially optimal for approximating Max CSP(P), for some predicates P. We call such predicates approximation resistant. Goemans and Williamson introduced an approximation method that relaxes problems into semidefinite programs. Using this method they show that for predicates P of arity two, it is possible to outperform a random assignment in approximating Max CSP(P). By extending this technique Zwick characterized all predicates of arity three as either approximation resistant or not.

In this thesis we consider predicates of arity larger than three. We extend the work of Håstad and the work of Samorodnitsky and Trevisan in order to show predicates to be approximation resistant. We also use semidefinite relaxation algorithms in order to show that predicates are not approximation resistant. In particular we show that predicates with few non-accepting inputs are approximation resistant and that predicates with few accepting inputs are not approximation resistant. We study predicates of arity four more closely and characterize 354 out of 400 predicate types.

Max kCSP is 2^{-k}-approximated by a random assignment and previously no algorithms were known to outperform such an algorithm with more than a small constant factor. In this thesis a probabilistic

Ω (2^{k+log k-log log k})-approximation for Max kCSP is presented.

isbn
urn-nbn$(function(){PrimeFaces.cw("Tooltip","widget_formSmash_j_idt1499",{id:"formSmash:j_idt1499",widgetVar:"widget_formSmash_j_idt1499",showEffect:"fade",hideEffect:"fade",showDelay:500,hideDelay:300,target:"formSmash:altmetricDiv"});});

CiteExport$(function(){PrimeFaces.cw("TieredMenu","widget_formSmash_lower_j_idt1573",{id:"formSmash:lower:j_idt1573",widgetVar:"widget_formSmash_lower_j_idt1573",autoDisplay:true,overlay:true,my:"left top",at:"left bottom",trigger:"formSmash:lower:exportLink",triggerEvent:"click"});}); $(function(){PrimeFaces.cw("OverlayPanel","widget_formSmash_lower_j_idt1574_j_idt1576",{id:"formSmash:lower:j_idt1574:j_idt1576",widgetVar:"widget_formSmash_lower_j_idt1574_j_idt1576",target:"formSmash:lower:j_idt1574:permLink",showEffect:"blind",hideEffect:"fade",my:"right top",at:"right bottom",showCloseIcon:true});});