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_idt266",widgetVar:"citationDialog",width:"800",height:"600"});});
$(function(){PrimeFaces.cw("ImageSwitch","widget_formSmash_j_idt1597",{id:"formSmash:j_idt1597",widgetVar:"widget_formSmash_j_idt1597",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_idt1944_0_downloads',{id:'formSmash:j_idt1944:0:downloads',type:'bar',responsive:true,data:[[1,2,2,2,4,5,6,5,4,6]],title:"Downloads of File (FULLTEXT01)",axes:{yaxis: {label:"",min:0,max:10,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","Jan -24","Feb -24","Mar -24","Apr -24","May -24","Jun -24","Jul -24"],orientation:"vertical",barMargin:3,datatip:true,datatipFormat:"<span style=\"display:none;\">%2$d</span><span>%2$d</span>"},'charts');}); Total: 852 downloads$(function(){PrimeFaces.cw("OverlayPanel","widget_formSmash_j_idt1948",{id:"formSmash:j_idt1948",widgetVar:"widget_formSmash_j_idt1948",target:"formSmash:downloadLink",showEvent:"mousedown",hideEvent:"mousedown",showEffect:"blind",hideEffect:"fade"});}); findCitings = function() {PrimeFaces.ab({s:"formSmash:j_idt1950",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:[[2,1,6,2,10,2,6,5,9,2]],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:["Aug -23","Sep -23","Oct -23","Dec -23","Mar -24","Apr -24","May -24","Jun -24","Jul -24","Aug -24"],orientation:"vertical",barMargin:3,datatip:true,datatipFormat:"<span style=\"display:none;\">%2$d</span><span>%2$d</span>"},'charts');}); Total: 1126 hits
$(function(){PrimeFaces.cw("Dialog","citationDialog",{id:"formSmash:lower:j_idt2069",widgetVar:"citationDialog",width:"800",height:"600"});});

CiteExport$(function(){PrimeFaces.cw("TieredMenu","widget_formSmash_upper_j_idt222",{id:"formSmash:upper:j_idt222",widgetVar:"widget_formSmash_upper_j_idt222",autoDisplay:true,overlay:true,my:"left top",at:"left bottom",trigger:"formSmash:upper:exportLink",triggerEvent:"click"});}); $(function(){PrimeFaces.cw("OverlayPanel","widget_formSmash_upper_j_idt229_j_idt233",{id:"formSmash:upper:j_idt229:j_idt233",widgetVar:"widget_formSmash_upper_j_idt229_j_idt233",target:"formSmash:upper:j_idt229: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_idt760",{id:"formSmash:j_idt760",widgetVar:"widget_formSmash_j_idt760",multiple:true});
##### Supervisors

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

PrimeFaces.cw("AccordionPanel","widget_formSmash_j_idt778",{id:"formSmash:j_idt778",widgetVar:"widget_formSmash_j_idt778",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_idt1973",{id:"formSmash:j_idt1973",widgetVar:"widget_formSmash_j_idt1973",showEffect:"fade",hideEffect:"fade",showDelay:500,hideDelay:300,target:"formSmash:altmetricDiv"});});

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